Skip to main content

measure_rust

Function measure_rust 

Source
pub fn measure_rust(
    root: &Path,
    exempt: &[String],
    base: Option<&str>,
) -> Result<Vec<Survivor>>
Expand description

Run cargo-mutants over the crate at root and return its un-exempted survivors.

With base set, only mutants on the <base>...HEAD changed lines are tested (via cargo-mutants’ --in-diff); without it, the whole crate. exempt is the resolved mutation-rule exempt paths. cargo-mutants must be installed.