Expand description
The dynamic half of mutation testing: the runner protocol, the embedded companion, the transport, the scheduler and the result model.
The static half (selection, the test map, pruning, ranking and the
instrumented code) is fallow_engine::mutation. The entry points are
crate::run_mutation and crate::plan_mutation.
Structs§
- Mutation
RunOptions - Options of
crate::run_mutationandcrate::plan_mutation.
Enums§
- Mutation
Progress - A phase event of a mutation run, for a caller that shows progress.
- Mutation
RunScope - The code that a mutation run mutates.
- Operator
- One mutation operator.
Constants§
- MAX_
VERDICT_ INPUT_ BYTES - The largest verdict document that the join reads.
Functions§
- apply_
mutation_ verdicts - Applies a verdict document to
report. - baseline_
blocked_ run_ error - The error of a run in which no mutant got a test result while tests failed with no active mutant.
- last_
mutation_ report_ path - The path of the saved report of the last run of the project.
- save_
last_ mutation_ report - Saves the JSON
reportof a run as the last report of the project, and returns its path. The write goes to a temporary file first, so a reader never sees half a report. - split_
control_ run_ failure - Splits the message of a control-run baseline failure into its fixed
reason and the test error after it. Gives
Nonefor another message or for a reason with no test error. - validate_
mutation_ verdicts - Checks a verdict document without a report.
Type Aliases§
- Mutation
Progress Sink - Receives the
MutationProgressevents of a run. The scheduler sends the mutant events from its worker threads.