Repository navigation
ci: add mutation testing - #21
Merged
Merged
Conversation
roxblnfk
force-pushed
the
ci/mutation-testing
branch
2 times, most recently
from
October 9, 2026 22:11
578ae43 to
2df11bd
Compare
`--min-msi=80` is the CI result (83%) rounded down to 5. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
roxblnfk
force-pushed
the
ci/mutation-testing
branch
from
October 9, 2026 22:13
2df11bd to
0dcb279
Compare
roxblnfk
marked this pull request as ready for review
October 9, 2026 22:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
master(PHP 8.4, Xdebug); pushes tomastersend the report to the Stryker dashboard, and the README shows its badge.--min-msi=80.Unitsuite runs under Infection: acceptance tests start php-cs-fixer in a subprocess, so they collect no coverage and cannot kill a mutant.src/Rules/DefaultRules.phpis excluded from mutation: it is a rule list, and killing "drop rule X" mutants would need a test that duplicates the list.Why?
Line coverage shows what tests execute; mutation testing shows what they actually check.
Review notes
infection/infection+testo/bridge-infection), not from the Phar and not incomposer.json: the Phar's bundled Testo adapter writes an unscoped class into the mutant bootstrap and every mutant fails with "class not found", and Infection needs PHP 8.3+.Checklist