Skip to content

Commit 479c95e

Browse files
committed
Add massa execution worker unit test documentation + mention of massa-unit-test-src repo
1 parent 2a71797 commit 479c95e

File tree

1 file changed

+26
-0
lines changed
  • massa-execution-worker/src/tests

1 file changed

+26
-0
lines changed

massa-execution-worker/src/tests/mod.rs

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
// Copyright (c) 2022 MASSA LABS <info@massa.net>
22

3+
//! # General description
4+
//!
5+
//! Unit tests for the massa-execution-worker crate
6+
//!
7+
//! # Hierarchy
8+
//!
9+
//! ## interface
10+
//!
11+
//! Unit tests checking for ABI implementation.
12+
//!
13+
//! ## tests_active_history.rs
14+
//!
15+
//! Unit tests for the ActiveHistory struct.
16+
//!
17+
//! ## scenarios_mandatories.rs
18+
//!
19+
//! Complex unit tests using mocks for some parts of the massa node. See universe.rs for more information
20+
//! about the testing framework.
21+
//!
22+
//! # Wasm source code
23+
//!
24+
//! A lot of unit tests requires to deploy some very simple smart contract (ABI tests, SC limit tests...).
25+
//!
26+
//! You can find the wasm source code in the [massa-unit-test-src repository](https://github.com/massalabs/massa-unit-tests-src)
27+
//! and easily modify / compile them.
28+
329
#[cfg(test)]
430
mod scenarios_mandatories;
531

0 commit comments

Comments
 (0)