Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Allow disabling certain mutations for an entire project #92

Open
mvz opened this issue Dec 23, 2018 · 0 comments
Open

Allow disabling certain mutations for an entire project #92

mvz opened this issue Dec 23, 2018 · 0 comments

Comments

@mvz
Copy link
Contributor

mvz commented Dec 23, 2018

There are certain mutations whose results I just don't like, even though they lead to code that is equivalent for the cases relevant to my code base. For example, in a case where symbol always has a value that is a symbol, symbol == :foo will get mutated to equivalent eql? and equal?. In many cases, it would be nearly impossible to add a test that makes this mutation go away, and such a test would often be quite convoluted.

Since, functionality being equal for the relevant case, I would rather see the original form in my code base, I'd like to be able to disable these mutations. Ideally, it should be possible to do this both using some configuration file for an entire project, and using comments in the code itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant