Code Monkey home page Code Monkey logo

node-coverify-lcov's Introduction

node-coverify-lcov

coverify-lcov

Known Vulnerabilities

This module converts the output of the excellent coverify module into something similar to the lcov.info files that some tools require.

Note: it may not work for most purposes as it uses only the line coverage.

The assumption behind this module is that the only relevant metric is the line coverage. If the line coverage is 100% then the function coverage is also 100%. If the line coverage is not 100% then it doesn't matter whether the function coverage is 100% or not.

Because test coverage is like the speed of light: 99% is better than 98%, but even 99.999% is nothing compared to 100%.

Installation

Install to use in your Node project, updating the development dependencies in package.json:

npm install browserify coverify coverify-lcov --save-dev

Usage

Run coverify with browserify and filter with coverify-lcov:

./node_modules/browserify/bin/cmd.js -t coverify test.js \
| node | ./node_modules/coverify-lcov/bin/cmd.js

Issues

For any bug reports or feature requests please post an issue on GitHub.

Author

Rafał Pocztarski - https://github.com/rsp

License

MIT License (Expat). See LICENSE.md for details.

node-coverify-lcov's People

Contributors

rsp avatar

Watchers

James Cloos avatar

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.