Comments (1)
A reasonable approach might be to let users provide an exceptions list of some sort. They would specify the line number or something (though this is brittle.) Then we would simply ignore survival results for that location.
This isn't as robust as embedding exceptions in the code itself, but it also doesn't force people to pollute their code with exception notes.
Original comment by: austin_bingham
from cosmic-ray.
Related Issues (20)
- [Feature Request] Make `pragma` Comments Behave Similarly to the Ones in Python's `coverage`
- [Question] How Do Regular Expressions Work When Excluding Operator Filters? HOT 3
- Intermittent Errors When Terminating Workers HOT 14
- Excluded Mutation Operators Still Getting Run HOT 8
- [Feature Request] Make `cr-filter-pragma` Part of the Config File HOT 2
- Excluded modules does not work because it's not referenced correctly in cli.py HOT 2
- ExceptionReplacer crashes on unexpected except clauses HOT 1
- Is it possible to define a mutation operator that takes arguments? HOT 2
- excluded-modules not working HOT 2
- The VariableReplacer and VariableInserter tests are not repeatable
- Could a fail-threshold be configured? HOT 7
- Error while installing cosmic-ray in Python 3.10.5 version. HOT 3
- virtualenv dependency conflicts. HOT 4
- Get pipeline tests running under 3.11
- Dump with filtered operators
- Tutorial with distributed github workload? HOT 1
- Use YAML for config file
- Bug: killing exec can leave mutated code on disk HOT 2
- Don't do operator replacement on "import *"
- Need to consider files using encoding other than utf8 HOT 2
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 cosmic-ray.