Repository navigation
Tests now kill 32 more Infection mutants - #132
Merged
Merged
Conversation
InfectionNo mutants: this pull request changes no lines in |
thunderer
force-pushed
the
tk-escaped-mutants
branch
2 times, most recently
from
November 7, 2026 22:36
fc90a45 to
50050e6
Compare
thunderer
force-pushed
the
tk-escaped-mutants
branch
from
November 7, 2026 22:48
50050e6 to
94235f1
Compare
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.
Infection left 160 escaped mutants on master, and the GitHub annotations listed them on every pull request diff. Tests from an earlier branch kill 25 of them. I ran each of the remaining 135 against master on 2000 random inputs through all parsers, the processor, the serializers and the facade: 7 of them change the output and can be killed by tests, the other 128 changed nothing and are most likely equivalent.
src: escaped mutants go from 160 to 128 and Covered Code MSI from 90% to 92% on PHP 8.4,--git-diff-linesagainst the base branch), so annotations show only mutants of that change, and pushes to master still run all mutants,This pull request changes no lines in
src, so its own CI run shows how Infection handles a diff without changed sources.