Crate cucumber [−] [src]
Reexports
pub use runner::{WorldRunner, CommandRunner}; |
pub use definitions::registration::CucumberRegistrar; |
pub use state::{Cucumber, SendableStep}; |
pub use server::Server; |
pub use event::request::InvokeArgument; |
pub use event::response::InvokeResponse; |
Modules
cucumber_regex |
Helpers for regular expressions |
definitions |
Business logic for step registration and invoke argument destructuring |
event |
External facing interface for events |
runner | |
server |
External facing interface to other Gherkin implementations |
state |
Low level location of step functions and matcher logic |
Macros
Given! |
Add a Given step to a CucumberRegistrar |
Then! |
Add a Then step to a CucumberRegistrar |
When! |
Add a When step to a CucumberRegistrar |
try_destructure! |
Destructure a vector of InvokeArgument into a tuple of values, or a bad InvokeResponse, similar to normal try! |
Functions
ruby_command |
Build a command to execute the Ruby Cucumber Server |
start |
Starts a Cucumber server and the Ruby client |
start_with_addr |
Start a Cucumber server, with an ip and port, see the |