Integration test module
This directory contains tooling to run integration test over the FVM.
Framework components
The bulk of the logic is handled by the Tester struct.
The following flow has been defined as a default usage:
- Instantiate a new
Testerspecifying accessible accounts, the network and state tree versions. - (Repeat) Set new actor states and deploy given actor in the stand alone
BlockstoreandStateTree. - Interact with previously deployed actors by calling the
execute()function.
Note: Once the
execute()is called new actors have to be instantiated with messages as theMachineandExecutorare already instantiated
- Make assertion on the
ApplyRetof the message
Current limitations
- Wasm bytecode is now expected to be received through a binary type (
&[u8]). This be upgraded to work Rust module compiled at test time. - Some testing and examples should be added to demonstrate how the framework works.
TODO: (hack to get coverage reports from actors + integration tests)