Skip to main content

run_mutation_with_progress

Function run_mutation_with_progress 

Source
pub fn run_mutation_with_progress(
    options: &MutationRunOptions,
    progress: MutationProgressSink<'_>,
) -> Result<MutationReport, ProgrammaticError>
Expand description

run_mutation that sends a MutationProgress event at the start of each run phase and after each finished mutant.

The events arrive on the calling thread and on the scheduler worker threads. A sink must return quickly, because a worker waits for it.

ยงErrors

Returns the same errors as run_mutation.