Skip to main content

execute_scenario

Function execute_scenario 

Source
pub fn execute_scenario(
    dir: &Path,
    file: &Path,
    strict: bool,
    update_lock: bool,
) -> Result<Outcome, String>
Expand description

Run a scenario (--scenario) instead of the [[test]] entries.

The steps share the boot path with a test and differ only in who decides when to look at the output: a test polls for its own expectations, a scenario says what it is waiting for.