Trait cucumber_rust::EventHandler[][src]

pub trait EventHandler: 'static {
    fn handle_event(&mut self, event: &CucumberEvent);
}

During test runs, a Cucumber instance notifies its associated EventHandler implementation about the key occurrences in the test lifecycle.

User can replace the default EventHandler for a Cucumber at construction time using Cucumber::with_handler.

Required methods

fn handle_event(&mut self, event: &CucumberEvent)[src]

Loading content...

Implementors

impl EventHandler for BasicOutput[src]

Loading content...