-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support BetterReflection 4 #248
Conversation
931870b
to
c804c2c
Compare
Why? BTW rebased on top of green build in #247, now this should be green too. |
If this is green, it can go in as-is 👍 |
I think we should only keep BetterReflection 4.6+ here: that's what the mutation tests seem to also pick up here (although I don't see the mutant from my phone) |
I'll try to fix them... [EDIT] It seems that the uniqueness applied to those arrays is already done by BetterReflection, is it right? Is it possible to ignore those mutants? |
infection.json.dist
Outdated
@@ -11,6 +11,12 @@ | |||
"mutators": { | |||
"@default": true, | |||
"IdenticalEqual": false, | |||
"NotIdenticalNotEqual": false | |||
"NotIdenticalNotEqual": false, | |||
"UnwrapArrayUnique": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should likely have tests, not be unwrapped...
If the uniqueness isn't needed, then it should likely be removed: mutation testing works both ways, finding unused code or untested code :-) |
Ok 👍 Since I don't know at which point that mutant will start appearing, I bumped BetterReflection to 4.3, which seems to be the latest minor supporting 7.3, and it doesn't mutate. |
Excellent! \o/ Thanks @Jean85, you basically did what I was supposed to do :D |
Fixes #234, includes #247