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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Mutation Testing Configuration
# See: https://mutants.rs/configuration.html
# Timeout for each mutant test run (seconds)
timeout = 300
# Number of parallel jobs
jobs = 4
# Exclude patterns - don't mutate these
exclude_globs = [
"src/main.rs", # Entry point
"src/bin/**", # Binary entry points
"tests/**", # Test code
"benches/**", # Benchmark code
"examples/**", # Example code
]
# Only mutate core logic
examine_globs = [
"src/engine/**",
"src/domains/**",
"src/orbit/**",
"src/demos/**",
"src/replay/**",
]
# Skip slow tests during mutation
# These will be run but with shorter timeout
[test_timeout]
default = 60
slow_tests = 120
# Mutation operators to apply
# Comment out operators to disable
[operators]
# Arithmetic
replace_add_sub = true
replace_mul_div = true
# Comparison
replace_eq_ne = true
replace_lt_le = true
replace_gt_ge = true
# Logical
replace_and_or = true
negate_condition = true
# Return values
replace_return_true_false = true
replace_return_zero_one = true
# Bounds
off_by_one = true