Skip to content

Move the mutation harness to Stryker 5.1.0 - #18

Merged
MPCoreDeveloper merged 1 commit into
mainfrom
chore/stryker-5.1.0
Nov 14, 2026
Merged

MPCoreDeveloper merged 1 commit into
mainfrom
chore/stryker-5.1.0

Conversation

@MPCoreDeveloper

Copy link
Copy Markdown
Owner

Summary

The stale Dependabot branch (PR #8) is applied and made to work: dotnet-stryker moves from 5.0.0 to 5.1.0.

5.1.0 runs in solution context: it finds SharpCorePDF.slnx, discovers the test project, and refuses a test-projects entry in stryker-config.json. The change:

  • .config/dotnet-tools.json → 5.1.0.
  • stryker-config.json → no test-projects; the default mutate glob narrows to src/**/*.cs.
  • mutation.yml → --solution SharpCorePDF.slnx --mutate "src/$LAYER/**/*.cs"; one job still measures one layer.
  • .clinerules/tooling.md, README.md, docs/mutation-testing.md → the documented commands use the solution.

Evidence

  • Scoped 5.1.0 run on PdfDiagnoserService.cs: 38.46% (5 killed, 8 survived, 13 mutants), against 42.86% on 5.0.0. The survivor set is the same equivalents the 1.7.0 record already explains (the redundant null guard, the message string, the four ConfigureAwait, the two warning merges); the one kill that moved is a mutant 5.1.0 rejects at compile time.
  • stryker-config.json parses; mutation.yml parses with yaml.safe_load.
  • The stale dependabot/nuget/dot-config/dotnet-stryker-5.1.0 branch is deleted.

Note

The solution context means a layer run builds the whole solution and then mutates only that layer's files; the weekly sweep is unchanged in what it reports, and one job still measures one layer.

Also updates docs/parity.md to twelve PDF/A files (six profiles of each document) after PDF/A-4.

5.1.0 runs in solution context: it finds SharpCorePDF.slnx, discovers the test project, and refuses a test-projects entry in stryker-config.json. The config loses the key, its default mutate glob narrows to src/**/*.cs, and the workflow and the documented commands name the solution and scope the layer with --mutate.

The scoped reading of PdfDiagnoserService.cs is 38.46% (5 killed, 8 survived, 13 mutants), against 42.86% on 5.0.0; the survivor set is the same equivalents, and the one kill that moved is a mutant 5.1.0 rejects at compile time. Recorded in docs/mutation-testing.md.

Also updates parity.md to twelve PDF/A files (six profiles of each document).
@MPCoreDeveloper
MPCoreDeveloper merged commit 3b4e49f into main Nov 14, 2026
6 checks passed
@MPCoreDeveloper
MPCoreDeveloper deleted the chore/stryker-5.1.0 branch November 14, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant