pub trait Suite {
type Case: Case;
// Required method
fn suite_name(&self) -> String;
// Provided method
fn run(&self) { ... }
}
Expand description
A collection of tests.
Required Associated Types§
Required Methods§
Sourcefn suite_name(&self) -> String
fn suite_name(&self) -> String
The name of the test suite used to locate the individual test cases.
§Example
GeneralStateTests
BlockchainTests/InvalidBlocks
BlockchainTests/TransitionTests