pub trait RunnableTestSet {
// Required method
fn run(cfg: TestConfig<'_>) -> Vec<TestResult>;
}Expand description
A test set that produces a list of test results.
Required Methods§
Sourcefn run(cfg: TestConfig<'_>) -> Vec<TestResult>
fn run(cfg: TestConfig<'_>) -> Vec<TestResult>
Run a test set with the provided configuration to create a list of test results. The test suite can contain both single, or standard, tests and parameterized tests. The results of the parameterized tests will be flattened into the resulting vec.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.