Emulator Integration Tests
The emulator integration tests startup all the components needed for running EVM gateway
and use the emulator and scripts to generate data which is after checked whether it has
been correctly handled.
Running Tests
Build and run main.go with selected test:
go run ./main.go --test {NAME}
// TODO right now the --test flag is not supported and a default test is run.
Producing fixtures
Files in the fixtures
folder can be produced by using a solc
compiler or simply by
using remix online IDE. You can simply paste the test.sol
,
change it the way you see fit and compile, which will produce ABI JSON and compiled binary.
You then replace contents of test-abi.json
with new ABI and test.bin
with the compiled binary.