-
Notifications
You must be signed in to change notification settings - Fork 358
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 for excluding mutators #954
Comments
Hi @npathai, I think something like this would be useful. The easiest syntax to implement would be mutators = ['ALL', '-UOI', '-CONDITIONAL_BOUNDARY'] This would work without updating any of the tooling. That said, unless you are doing research, enabling ALL mutators and then disabling one or two of them is not a good idea. Most of the mutators in the 'RV' research set are not usable for day to day development. I will likely move them out of the main codebase now that pitest supports pluggable mutators. |
support simple mutator exclusion for #954
Released in 1.7.3 |
Carrying over this feature request from https://github.com/szpak/gradle-pitest-plugin
Issue:
Support for excluding mutators
Feature Request:
Ability to specify the mutators like this:
or, if that is not possible, with something equivalent, like this:
Use case: instead of having a long list of all mutators to run, be able to specify a large set of mutators, like 'ALL', and then just exclude some from the list, like ['UOI'], when they produce too many false positives.
I had gone through the source code of PIT and found that there is no way to exclude specific mutators.
The text was updated successfully, but these errors were encountered: