Skip to main content

Module runner

Module runner 

Source
Expand description

Parallel mutation testing runner.

This module provides high-performance parallel execution of mutation tests. Each mutant is tested in an isolated temporary workspace to enable concurrent execution.

Structsยง

MutantTestResult
Result of testing a single mutant.
MutationBatchResult
Result of a parallel mutation batch.
SharedMutationState
Tracks progress and adaptive span skipping across parallel workers.

Functionsยง

apply_mutation ๐Ÿ”’
Apply a mutation to a source file.
compile_and_test ๐Ÿ”’
Compile the project and run tests, returning true if any test failed (mutant killed).
compile_and_test_inner ๐Ÿ”’
rebase_project_path ๐Ÿ”’
run_compile_and_test_with_timeout ๐Ÿ”’
Run compile_and_test on a worker thread and wait at most budget for it to complete. Returns TimedOut on overrun and Invalid on infrastructure errors / panics.
run_mutations_parallel_with_progress
Run mutation tests in parallel with optional progress display.
temp_config_for_mutation ๐Ÿ”’
Build the config used inside a per-mutant temp workspace.
test_single_mutant_isolated ๐Ÿ”’
Test a single mutant in an isolated temporary workspace.