CucumberTest

Trait CucumberTest 

Source
pub trait CucumberTest:
    CucumberWorld
    + WorldInventory
    + Debug {
    const NAME: &'static str;

    // Provided method
    fn config<W: Writer<Self>>(
        _cucumber: &mut Cucumber<Self, Basic, PathBuf, Basic<Self>, W>,
    ) { ... }
}
Expand description

A trait that defines a Cucumber test.

Required Associated Constants§

Source

const NAME: &'static str

The name of the test.

This is used to find the feature file.

Provided Methods§

Source

fn config<W: Writer<Self>>( _cucumber: &mut Cucumber<Self, Basic, PathBuf, Basic<Self>, W>, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§