Skip to main content

run

Function run 

Source
pub async fn run(
    cfg: RunConfig,
    cancel: &Cancel,
    on_event: &mut (dyn FnMut(Event<'_>) + Send),
) -> Result<Report>
Expand description

Run the suite and assemble the report.

Progress arrives through on_event; pass &mut |_| {} to ignore it. cancel is checked between steps — see Cancel.