fvm_integration_tests 0.1.0

Filecoin Virtual Machine integration tests framework
docs.rs failed to build fvm_integration_tests-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: fvm_integration_tests-4.1.2

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:

  1. Instantiate a new Tester specifying accessible accounts, the network and state tree versions.
  2. (Repeat) Set new actor states and deploy given actor in the stand alone Blockstore and StateTree.
  3. 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 the Machine and Executor are already instantiated

  1. Make assertion on the ApplyRet of the message

Current limitations

  1. Wasm bytecode is now expected to be received through a binary type (&[u8]). This be upgraded to work Rust module compiled at test time.
  2. Some testing and examples should be added to demonstrate how the framework works.