cargo-mutants-config.yaml
cargo-mutants configuration file
| Type | object |
|---|---|
| File match |
**/.cargo/mutants.toml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/cargo-mutants-config-yaml/latest.json |
| Source | https://www.schemastore.org/cargo-mutants-config.json |
Validate with Lintel
npx @lintel/lintel check
cargo-mutants configuration, read by default from .cargo/mutants.toml.
See https://mutants.rs/.
Properties
Pass extra args to every cargo invocation.
[]
Pass extra args to cargo test.
[]
Build timeout multiplier, relative to the baseline 'cargo build'.
Pass --cap-lints to rustc.
Copy .git and other VCS directories to the build directory.
Generate these error values from functions returning Result.
[]
Generate mutants from source files matching these globs.
[]
Examine only mutants matching these regexps.
[]
Exclude mutants from source files matching these globs.
[]
Exclude mutants from source files matches these regexps.
[]
Minimum test timeout, in seconds, as a floor on the autoset value.
Output directory.
Cargo profile.
Skip calls to functions or methods with these names.
This is combined with values from the --skip-calls argument.
[]
Use built-in defaults for skip_calls in addition to any explicit values.
Run tests from these packages for all mutants.
[]
Choice of test tool: cargo or nextest.
Run tests from all packages in the workspace, not just the mutated package.
Overrides test_package.
Timeout multiplier, relative to the baseline 'cargo test'.
Definitions
Choice of tool to use to run tests.