-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add massa execution worker unit test documentation + mention of massa…
…-unit-test-src repo (#4855)
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
// Copyright (c) 2022 MASSA LABS <[email protected]> | ||
|
||
//! # General description | ||
//! | ||
//! Unit tests for the massa-execution-worker crate | ||
//! | ||
//! # Hierarchy | ||
//! | ||
//! ## interface | ||
//! | ||
//! Unit tests checking for ABI implementation. | ||
//! | ||
//! ## tests_active_history.rs | ||
//! | ||
//! Unit tests for the ActiveHistory struct. | ||
//! | ||
//! ## scenarios_mandatories.rs | ||
//! | ||
//! Complex unit tests using mocks for some parts of the massa node. See universe.rs for more information | ||
//! about the testing framework. | ||
//! | ||
//! # Wasm source code | ||
//! | ||
//! A lot of unit tests requires to deploy some very simple smart contract (ABI tests, SC limit tests...). | ||
//! | ||
//! You can find the wasm source code in the [massa-unit-test-src repository](https://github.com/massalabs/massa-unit-tests-src) | ||
//! and easily modify / compile them. | ||
#[cfg(test)] | ||
mod scenarios_mandatories; | ||
|
||
|