Comments (5)
+1
This would also be helpful when gradually killing mutations on an existing codebase.
from devtools.
@lgierth good point, I hadn't thought about that. I could see this even being useful when spiking stuff. You'd mark the stuff you're spiking as being excluded from mutant, while making sure any changes you make to the already mutation tested code are still covered. This prevents you having to balance spiking against keeping metrics happy, especially when you have no idea what the final code should look like.
from devtools.
For reference, at the moment my CI script is bundle exec rake -t ci:metrics spec:integration && (bundle exec rake -t metrics:mutant || true)
, which is not optimal because it won't fail for killed mutations that come back to life after a code change.
HTTPkit is at 89 % now btw :)
from devtools.
@lgierth, @dkubb Released mutant can easily exclude namespaces:
mutant --rspec '::MainNamespace*' --ignore-subject '::MainNamespace::SubNamespace*'
We just need to add this to the mutant devtools tasks.
I also plan to support reading of the config/mutant.yml
directly from mutant. So we dont have two moving targets.
from devtools.
This is supported already. By mutant itself and in the configuration file devtools ships.
from devtools.
Related Issues (20)
- Update rubocop version to ~> 0.18.1 HOT 5
- Please take over this project and move it out from rom-rb organization HOT 10
- Bootstrapping after git clone? HOT 3
- Make reek, coveralls and simplecov(?) optional HOT 1
- Rubocop deprecation warnings HOT 1
- `bundle exec devtools init` breaks HOT 3
- Fix `metrics:rubocop` to report warnings as errors and fail the build.
- Upgrade to Reek 3 HOT 4
- Lift restriction on mutant to 2.2.2 or 2.2.3? HOT 1
- Upgrade to RuboCop 0.34
- Enable reek again when upstream issue is fixed.
- Add rubocop-rspec HOT 3
- Release 0.1.2? HOT 1
- Change README gem version
- Assert config file field types HOT 2
- Mutant config should allow specifying rationals HOT 1
- rake ci does not run integration specs anymore
- Bump rake dep to 10.5.0 HOT 1
- Ignore
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 devtools.