pub struct Options {Show 39 fields
pub dir: PathBuf,
pub package: Option<String>,
pub list: bool,
pub test_workspace: bool,
pub verify: bool,
pub work_dir: Option<PathBuf>,
pub progress: bool,
pub since: Option<String>,
pub lines: Vec<String>,
pub exclude_files: 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 error_values: Vec<String>,
pub source_only: bool,
pub literal_operators: bool,
pub shard: Option<Shard>,
pub nextest: Option<Nextest>,
pub test_selection: TestSelection,
pub opt_level: Option<u8>,
pub timeout_seconds: Option<u64>,
pub baseline_timeout_seconds: Option<u64>,
pub baseline_jobs: usize,
pub serial_timeout_rechecks: bool,
pub wrapper_grace: Duration,
pub audit: Option<usize>,
pub cargo: CargoConfig,
pub jobs: usize,
pub all_files: bool,
pub git_index: bool,
pub copy_fixtures: Vec<PathBuf>,
pub copy_fixture_excludes: Vec<PathBuf>,
pub output_fixtures: Vec<Fixture>,
pub stage_external: Vec<StageExternal>,
pub checkpoint: bool,
pub doc: bool,
}Fields§
§dir: PathBufDirectory of the package (or workspace) to analyse.
package: Option<String>§list: boolReturn source candidates without running a build.
test_workspace: boolRun every member’s tests against the selected package.
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.
exclude_files: Vec<String>Package-relative glob patterns of files to exclude from mutation.
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.
error_values: Vec<String>Rust expressions used as the payload of a Result error mutation.
source_only: bool§literal_operators: bool§shard: Option<Shard>§nextest: Option<Nextest>§test_selection: TestSelection§opt_level: Option<u8>Optimisation level to build the tests with, instead of the profile’s own.
timeout_seconds: Option<u64>Override the time allowed for each test runner under a mutant.
baseline_timeout_seconds: Option<u64>Override the time allowed for each baseline trace invocation.
baseline_jobs: usize§serial_timeout_rechecks: bool§wrapper_grace: Duration§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.
git_index: bool§copy_fixtures: Vec<PathBuf>§copy_fixture_excludes: Vec<PathBuf>§output_fixtures: Vec<Fixture>§stage_external: Vec<StageExternal>§checkpoint: bool§doc: boolAlso run the doc tests (slow: rustdoc recompiles them for every mutant they reach).