-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmutants.toml
More file actions
29 lines (25 loc) · 849 Bytes
/
mutants.toml
File metadata and controls
29 lines (25 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# cargo-mutants configuration
# See: https://mutants.rs/mutants-toml.html
# Timeout multiplier for mutant tests (default is 5x baseline)
# timeout_multiplier = 5
# Additional arguments passed to cargo test
additional_cargo_test_args = ["--", "--test-threads=1"]
# Functions/methods to skip mutating (regex patterns)
# These are typically trivial getters, trait impls, or test code
exclude_globs = [
# Test modules
"**/tests.rs",
"**/tests/**",
# Generated code
"**/generated/**",
]
# Exclude specific functions that are not worth testing
# (add patterns as needed when you find false positives)
exclude_re = [
# Trivial Default implementations
"impl Default for .* -> Self",
# Display/Debug implementations
"impl (Display|Debug) for",
# Simple From/Into conversions
"impl From<.*> for .* -> Self$",
]