Crates.io | fvm_integration_tests |
lib.rs | fvm_integration_tests |
version | 4.5.1 |
source | src |
created_at | 2022-07-21 19:30:14.615486 |
updated_at | 2024-11-08 01:11:11.302189 |
description | Filecoin Virtual Machine integration tests framework |
homepage | |
repository | https://github.com/filecoin-project/ref-fvm |
max_upload_size | |
id | 629828 |
size | 226,447 |
This directory contains tooling to run integration test over the FVM.
The bulk of the logic is handled by the Tester
struct.
The following flow has been defined as a default usage:
Tester
specifying accessible accounts, the network and state tree versions.Blockstore
and StateTree
.execute()
function.Note: Once the
execute()
is called new actors have to be instantiated with messages as theMachine
andExecutor
are already instantiated
ApplyRet
of the message&[u8]
). This be upgraded to work Rust module compiled
at test time.TODO: (hack to get coverage reports from actors + integration tests)
cargo build -p "*actor"
export SKIP_WASM_BUILD=true
export FVM_STORE_ARTIFACT_DIR=../../target/llvm-cov-target/
cargo llvm-cov -p fvm_integration_tests --lcov