pub trait TestFormat: Debug {
// Required methods
fn name(&self) -> &'static str;
fn registry(&self) -> &dyn TestRegistry;
fn execute(&self, test: &Test, config: &Config) -> DiagResult<TestResult>;
}
Required Methods§
Sourcefn registry(&self) -> &dyn TestRegistry
fn registry(&self) -> &dyn TestRegistry
Get the test registry for this format
Sourcefn execute(&self, test: &Test, config: &Config) -> DiagResult<TestResult>
fn execute(&self, test: &Test, config: &Config) -> DiagResult<TestResult>
Executes test
using this test format, and the provided config
.