From e92413d6eb2911695ac96f37bb7589ae5ec1cd66 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 22 Sep 2026 20:50:10 +0200 Subject: [PATCH] Add Stryker config for CultMath and ignore its output Scope mutation testing to CultMath.Tests only, matching Aetheria's stryker-config.json shape: Standard level, progress/html/json reporters, break threshold 0 (score is not a gate). Mutate only CultMath's own sources, excluding the generated Swizzles.g.cs. Co-Authored-By: Claude Opus 5 --- .gitignore | 3 +++ .../tests/CultMath.Tests/stryker-config.json | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 packages/cultmath/tests/CultMath.Tests/stryker-config.json diff --git a/.gitignore b/.gitignore index e4661501..6d0f1f77 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,9 @@ # dotenv files .env +# Stryker.NET mutation-testing output +StrykerOutput/ + # User-specific files *.rsuser *.suo diff --git a/packages/cultmath/tests/CultMath.Tests/stryker-config.json b/packages/cultmath/tests/CultMath.Tests/stryker-config.json new file mode 100644 index 00000000..3b4092e1 --- /dev/null +++ b/packages/cultmath/tests/CultMath.Tests/stryker-config.json @@ -0,0 +1,13 @@ +{ + "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 } + } +}