Trait cucumber::definitions::registration::CucumberRegistrar [] [src]

pub trait CucumberRegistrar<World> {
    fn given(&mut self, file: &str, line: u32, Regex, Step<World>);
    fn when(&mut self, file: &str, line: u32, Regex, Step<World>);
    fn then(&mut self, file: &str, line: u32, Regex, Step<World>);
}

An interface for registering steps

This is a rough interface, because it requires specifying file and line information manually. Prefer using the macros.

See WorldRunner for the primary implementer.

Required Methods

fn given(&mut self, file: &str, line: u32, Regex, Step<World>)

fn when(&mut self, file: &str, line: u32, Regex, Step<World>)

fn then(&mut self, file: &str, line: u32, Regex, Step<World>)

Implementors