Skip to main content

run_mutation_testing

Function run_mutation_testing 

Source
pub async fn run_mutation_testing(
    config: Arc<Config>,
    output: &ProjectCompileOutput<MultiCompiler>,
    evm_opts: EvmOpts,
    mutation_config: MutationRunConfig,
) -> Result<MutationRunResult>
Expand description

Run mutation testing on the project.

This function encapsulates the mutation testing logic that was previously in the test command. It handles:

  • Filtering source files based on patterns
  • Per-file mutation handling with caching
  • Parallel mutation execution
  • Result aggregation and reporting