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
# cargo-mutants configuration for redactor project
#
# Mutation testing validates test quality by making systematic changes
# to source code and verifying tests catch them. This config excludes
# files that shouldn't be mutated (test code, FFI, CLI covered by integration tests).
[]
# Timeout per mutation test run (seconds)
= 60
# Number of parallel workers for mutation testing
# Adjust based on CI runner capacity
= 4
# Exclude test files from mutation
# We mutate source code, not test code
[[]]
= "tests/**"
# Exclude CLI binary - logic is covered by integration tests
# The CLI handler is tested via assert_cmd in cli_comprehensive_test.rs
[[]]
= "src/main.rs"
# Exclude unsafe FFI code in secure.rs
# FFI code uses unsafe blocks and shouldn't be mutated
[[]]
= "src/redaction/secure.rs"
= "mod ffi"
# Exclude generated/benchmark files
[[]]
= "target/**"
[[]]
= "benches/**"
# Build and test commands
[]
= "cargo"
= ["test", "--all-features", "--workspace"]