pub struct Options {Show 19 fields
pub dir: PathBuf,
pub package: Option<String>,
pub verify: bool,
pub work_dir: Option<PathBuf>,
pub progress: bool,
pub since: Option<String>,
pub lines: Vec<String>,
pub baseline: Option<PathBuf>,
pub write_baseline: Option<PathBuf>,
pub also_test: Vec<String>,
pub dependents: bool,
pub effects: bool,
pub rebuild: bool,
pub opt_level: Option<u8>,
pub audit: Option<usize>,
pub cargo: CargoConfig,
pub jobs: usize,
pub all_files: bool,
pub doc: bool,
}Fields§
§dir: PathBufDirectory of the package (or workspace) to analyse.
package: Option<String>§verify: boolRe-run the tests against one survivor per input gap to confirm the prediction.
work_dir: Option<PathBuf>Where to put the copy and its build. Default: <target dir>/tmt.
progress: boolProgress lines on stderr.
since: Option<String>Analyse only code changed since this git revision (plus untracked files).
lines: Vec<String>Analyse only these lines: FILE:FROM-TO, with FILE relative to the package.
baseline: Option<PathBuf>Findings listed in this file are not reported.
write_baseline: Option<PathBuf>Write the findings of this run to this file, as a baseline for later runs.
also_test: Vec<String>Other workspace packages whose tests are run too.
dependents: boolRun the tests of every workspace package that depends on the analysed one.
effects: boolTrace surviving mutants to say what they change in the tests.
rebuild: boolBuild and run, one by one, the mutants that cannot be switched at run time.
opt_level: Option<u8>Optimisation level to build the tests with, instead of the profile’s own.
audit: Option<usize>Run this many surviving mutants against all tests and record the tests twice.
cargo: CargoConfigCargo’s choice of features and of the lock file, the same for every cargo command.
jobs: usizeHow many mutants to run at the same time.
all_files: boolCopy every file of the workspace, including the ones git ignores.
doc: boolAlso run the doc tests (slow: rustdoc recompiles them for every mutant they reach).