pub trait Testable {
// Required method
fn test(&self, context: &Context) -> TestResults;
// Provided method
fn run(&self, context: &mut Context) { ... }
}Expand description
Any tests to run with a testing context
pub trait Testable {
// Required method
fn test(&self, context: &Context) -> TestResults;
// Provided method
fn run(&self, context: &mut Context) { ... }
}Any tests to run with a testing context