pub trait Suite {
type Case: Case;
// Required method
fn suite_path(&self) -> &Path;
// Provided methods
fn run(&self) { ... }
fn run_only(&self, name: &str) { ... }
}Expand description
A collection of tests.
Required Associated Types§
Required Methods§
Sourcefn suite_path(&self) -> &Path
fn suite_path(&self) -> &Path
The path to the test suite directory.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".