Trait TestFormat

Source
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§

Source

fn name(&self) -> &'static str

Returns the proper name of this test format

Source

fn registry(&self) -> &dyn TestRegistry

Get the test registry for this format

Source

fn execute(&self, test: &Test, config: &Config) -> DiagResult<TestResult>

Executes test using this test format, and the provided config.

Implementors§