Crate mina_node_testing

Crate mina_node_testing 

Source
Expand description

§Mina Node Testing Framework

A comprehensive testing framework for the Mina Rust node implementation. Provides scenario-based testing capabilities with deterministic execution, cluster management, and cross-implementation compatibility testing.

§Key Features

  • Scenario-based testing: Deterministic, repeatable test sequences
  • Cluster orchestration: Multi-node test coordination
  • Cross-implementation: Tests both Rust and OCaml node compatibility
  • Recording/replay: Capture and reproduce test scenarios
  • Network simulation: Controlled network environments

§Documentation

For detailed usage and examples, see:

§Usage

The main entry point is the mina-node-testing binary:

# List available scenarios
cargo run --release --bin mina-node-testing -- scenarios-list

# Run a specific scenario
cargo run --release --bin mina-node-testing -- scenarios-run --name scenario-name

Modules§

cluster
Cluster Management for Multi-Node Testing
exit_with_error 🔒
hosts
network_debugger
node
scenario
Scenario Management
scenarios
Mina Testing Scenarios
server 🔒
service
simulator

Structs§

GATE 🔒
TestGate

Functions§

exit_with_error
server
setup
setup_without_rt
wait_for_other_tests