Giter Club home page Giter Club logo

Comments (5)

 avatar commented on August 24, 2024

+1

This would also be helpful when gradually killing mutations on an existing codebase.

from devtools.

dkubb avatar dkubb commented on August 24, 2024

@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.

 avatar commented on August 24, 2024

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.

mbj avatar mbj commented on August 24, 2024

@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.

mbj avatar mbj commented on August 24, 2024

This is supported already. By mutant itself and in the configuration file devtools ships.

from devtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.