question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Since 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
richardwerkmancommented, Oct 26, 2018

@nicojs I’ve changed the name to excluded-mutations. To keep the dash cased format we use in our other names.

0reactions
rouke-broersmacommented, Oct 28, 2018

Agreed

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found