-
-
Notifications
You must be signed in to change notification settings - Fork 439
Expand file tree
/
Copy pathinfection.json5
More file actions
26 lines (26 loc) · 837 Bytes
/
infection.json5
File metadata and controls
26 lines (26 loc) · 837 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
// Baseline mutation testing config for Cacti.
//
// Feature PRs that want to gate their own files on mutation score should
// override the `source.directories` / `filter` and `testFrameworkOptions`
// fields to scope mutation to the files they touched. Either copy this file
// into the feature branch and edit it, or pass `--filter='lib/yourfile.php'`
// on the Infection CLI. The thresholds below (minMsi / minCoveredMsi) are
// the project floor; feature PRs may raise them but should not lower them.
{
$schema: "include/vendor/infection/infection/resources/schema.json",
source: {
directories: ["lib"],
excludes: ["vendor", "tests"]
},
mutators: {
"@default": true
},
testFramework: "pest",
minMsi: 70,
minCoveredMsi: 80,
timeout: 30,
tmpDir: "build/infection",
logs: {
text: "build/infection/infection.log"
}
}