[][src]Trait lit::event_handler::EventHandler

pub trait EventHandler {
    fn on_test_suite_started(
        &mut self,
        suite_details: &TestSuiteDetails,
        config: &Config
    );
fn on_test_suite_finished(&mut self, passed: bool, config: &Config);
fn on_test_finished(&mut self, result: TestResult, config: &Config);
fn note_warning(&mut self, message: &str); }

An object which listens to events that occur during a test suite run.

Required methods

fn on_test_suite_started(
    &mut self,
    suite_details: &TestSuiteDetails,
    config: &Config
)
[src]

Called to notify before the test suite has started.

fn on_test_suite_finished(&mut self, passed: bool, config: &Config)[src]

Called to notify when the entire test suite has finished execution.

fn on_test_finished(&mut self, result: TestResult, config: &Config)[src]

Called to notify when a test has been executed.

fn note_warning(&mut self, message: &str)[src]

Called to notify about a nonfatal warning.

Loading content...

Implementors

impl EventHandler for EventHandler[src]

Loading content...