pub fn call(___context___: &ScenarioContext, exit: i32) -> StepResult
Expand description

Call this step function from another.

If you want to call this step function from another, you will need to do something like this:

#[step]
#[context("Runcmd")]
fn defer_to_exit_code_is(context: &ScenarioContext) {
    //...
    exit_code_is::call(context, exit)?;
    // ...
}