Comments (3)
I believe you can prefix the local variables with _
and mutant will know they are just placeholders and you don't plan to use those variables within the method (or block).
from mutant.
Oho, yup; fantastic!
from mutant.
In later versions mutant will expect a mutation on a underscored prefixed variable must NOT fail. (The inverse of mutation testing), lets call it "invariant testing". These neutral mutants will assure you use the convention correctly.
from mutant.
Related Issues (20)
- Choose subjects based on an AST diff when using `--since` HOT 2
- Deprecation warnings for regexp_parser HOT 1
- SQL mutations HOT 1
- Add --seed flag (or similar mechanism) HOT 1
- `--since` flag fails when git is configured with a different diff tool HOT 4
- Add `--debug-worker` flag to make debugging workers easier
- False postive in String#split HOT 2
- License for an open source project HOT 1
- Failing subjects summary
- License for an open source project HOT 1
- Add mechanism to hooks to report "true" source location
- Improve `ignore_patterns` behavior for method removals HOT 1
- Allow `mutant:disable` to apply to inline macros and visibility modifiers
- Mutating Sorbet T nodes even with ignore patterns
- Call `Process.warmup` when eligible HOT 1
- Exception raised when mutating pattern matching HOT 1
- Mutations inserted need to retain constant scope.
- Could not use License due to HTTP 404 Not Found HOT 4
- feat: todo file HOT 3
- feat: Additional mutations around ordering HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mutant.