Skip to main content

rule_scenario

Function rule_scenario 

Source
pub fn rule_scenario(
    root: &Path,
    feature: Option<&str>,
    task: &str,
    scenario: &str,
    reason: &str,
    via: Via,
    state: &Path,
) -> CommandResult
Expand description

Records a person’s ruling that scenario’s oracle tests are wrong (task met them): the next run writes them again. Refused for an id that is not a scenario of the task’s story.