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.

More powerful whitelisting system

See original GitHub issue

A lot of surviving mutants in a project are due to changing constants, e.g. FOO = 1, where FOO itself is used in tests then also. Killing those would need a test where the value itself is used, which does not make much sense, does it?

I think it would be good if those mutations could be skipped (e.g. by not mutating anything that matches [A-Z_]+ maybe?

It would be good if those could be deselected either by name of the mutation (which would need to be something like mutate-constant-X), or by specifying a pattern of identifiers not to mutate. (it is not possible to deselect mutations currently, is it?)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:37 (25 by maintainers)

github_iconTop GitHub Comments

3reactions
boxedcommented, Dec 10, 2018

@nklapste I’ve released a new version of mutmut that ignored a bunch of these by default. It’s also got an overhauled cache system that is way better. Give it a try!

2reactions
boxedcommented, Jul 28, 2020

I added an example for the case about just matching the line. Seems like it should cover many use cases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application Whitelisting Guide and the Best ... - Comparitech
Discover everything you need to know about application whitelisting, including evaluation, selection, implementation, and the best tools.
Read more >
What is Application Whitelisting? - TechTarget
Therefore, it is much more effective for application whitelisting software to use cryptographic hashing techniques coupled with digital signatures that are ...
Read more >
Whitelisting explained: How it works and where it fits in a ...
Whitelisting is a cybersecurity strategy under which a user can only ... But there are third-party vendors who offer more powerful or more...
Read more >
6 Types of Application Whitelisting Attributes - ColorTokens
Here are six types of application whitelisting attributes that can be used to secure applications from zero-day attacks and unknown malware.
Read more >
Whitelisting: is it required for secure access control? - Twingate
Antivirus and anti-malware applications are the most common blacklisting ... Creating an effective whitelist system requires an up-front ...
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