Skip to main content

run_example

Function run_example 

Source
pub fn run_example(
    plan: &ExecutionPlan,
    context_factory: &dyn Fn(&str) -> Rc<dyn Any>,
    index: usize,
) -> Result<(), StepFailure>
Expand description

Run a single example by index. context_factory maps a step file to its fresh initial state.