We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be useful to disable specific mutations via comments.
Proposal
The comment should have the format:
//nomutant
or
//nomutant:mutation1,mutation2,...,mutationN
For example:
To exclude all mutation from specific expression:
a := b + c //nomutant
To exclude specific mutation from specific expression:
a := b + c //nomutant:arithmetic-base,invert-bitwise
To exclude mutations from block:
//nomutant func myFunc() { a := b + c }
To exclude mutations from file:
//nomutant package apackage
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It would be useful to disable specific mutations via comments.
Proposal
The comment should have the format:
or
For example:
To exclude all mutation from specific expression:
To exclude specific mutation from specific expression:
To exclude mutations from block:
To exclude mutations from file:
The text was updated successfully, but these errors were encountered: