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ยง
- Mutant
Test Result - Result of testing a single mutant.
- Mutation
Batch Result - Result of a parallel mutation batch.
- Shared
Mutation State - 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_teston a worker thread and wait at mostbudgetfor it to complete. ReturnsTimedOuton overrun andInvalidon 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.