Disable mutators
See original GitHub issueSince we now have a wide range of mutators available there are cases that some mutators are not wanted on certain projects. For example: a project with a lot of trace logging like:
Log.Trace("Usercontroller called");
I could want to disable the string mutator.
{
"stryker-config":
{
"excluded-mutations": [
"StringMutator",
"CheckedMutator",
],
}
}
Users should be able to pass a list of mutators to disable. This can be a tricky thing since the names of the mutators are not mapped 1:1 in the documentation. For example the string mutator is documented as one mutator, but in code there are 2 instances. We could introduce mutator categories/groups for this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to turn off mutators? : r/prisonarchitect
Remove the mutators you want and save the file. Now load your prison. Backup first!
Read more >Disable mutants
StrykerJS supports 2 ways to disable mutants. Exclude the mutator. Using a // Stryker disable comment. Disabled mutants will still end up in...
Read more >Support for excluding mutators · Issue #954 · hcoles/pitest
That said, unless you are doing research, enabling ALL mutators and then disabling one or two of them is not a good idea....
Read more >Mutation operators
As shown above the basic remove conditionals mutator ensures that the statements following the conditional always execute. It will also only mutate only ......
Read more >Mutators - MIT App Inventor
Any block that has a blue box with a white gear on top that matches the image to the right is considered a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@nicojs I’ve changed the name to
excluded-mutations
. To keep the dash cased format we use in our other names.Agreed