Coder Social home page Coder Social logo

test coverage tool about reselect HOT 5 CLOSED

reduxjs avatar reduxjs commented on May 13, 2024
test coverage tool

from reselect.

Comments (5)

ellbee avatar ellbee commented on May 13, 2024

Istanbul? https://github.com/gotwarlost/istanbul

from reselect.

faassen avatar faassen commented on May 13, 2024

I have absolutely no experience with coverage tools in the JS world yet, so Instanbul sounds fine to me. The most important thing is that it doesn't get confused by babel ES6 transpilation, I think.

from reselect.

faassen avatar faassen commented on May 13, 2024

Ahah: https://github.com/ambitioninc/babel-istanbul

from reselect.

ellbee avatar ellbee commented on May 13, 2024

I copied the test coverage script from redux. Our current status:

Statements : 100% ( 35/35 ), 1 ignored
Branches : 100% ( 8/8 ), 1 ignored
Functions : 100% ( 11/11 )
Lines : 100% ( 24/24 )

from reselect.

faassen avatar faassen commented on May 13, 2024

Yay! I had to wipe my node_modules and do another npm install, but after that it all just worked.

We should document the basic commands we offer somewhere so that people know what's available.

from reselect.

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.