CultMath.Tests is on xunit.v3. Stryker's default vstest runner cannot capture coverage against xunit.v3's test host and hangs retrying test sessions indefinitely (observed: 2096 mutants queued, zero completed after ~9 minutes of retries). Stryker's Microsoft.Testing.Platform runner (-t mtp, still preview) works correctly against xunit.v3 and completed the same 1351-mutant run in ~4.5 minutes. Pin it in config so a plain `dotnet stryker` works without a CLI flag. Add docs/mutation-testing.md: how to run it, the --since form for a single cut, the triage rules, a known coverage-capture caveat in the mtp runner (confirmed by hand-mutation against static readonly fields), and the packages still needing their own config. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
14 lines
411 B
JSON
14 lines
411 B
JSON
{
|
|
"stryker-config": {
|
|
"project": "CultMath.csproj",
|
|
"mutate": [
|
|
"**/packages/cultmath/src/CultMath/**/*.cs",
|
|
"!**/packages/cultmath/src/CultMath/Swizzles.g.cs",
|
|
"!**/packages/cultmath/src/CultMath/*.meta"
|
|
],
|
|
"mutation-level": "Standard",
|
|
"reporters": [ "progress", "html", "json" ],
|
|
"thresholds": { "high": 80, "low": 60, "break": 0 },
|
|
"test-runner": "mtp"
|
|
}
|
|
}
|