Crates.io | fvm_integration_tests |
lib.rs | fvm_integration_tests |
version | 4.3.1 |
source | src |
created_at | 2022-07-21 19:30:14.615486 |
updated_at | 2024-06-26 15:56:18.803628 |
description | Filecoin Virtual Machine integration tests framework |
homepage | |
repository | https://github.com/filecoin-project/ref-fvm |
max_upload_size | |
id | 629828 |
size | 212,938 |
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