Giter Site home page Giter Site logo

istanbul-coveralls's Introduction

istanbul-coveralls

NPM version Build Status Coverage Status Dependency Status devDependency Status

A simple alias for istanbul + node-coveralls

istanbul cover test.js && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage

โ†“

istanbul cover test.js && istanbul-coveralls

Installation

Use npm.

npm install --save-dev istanbul istanbul-coveralls

Usage

  1. Write a coverage information file under ./coverage by using istanbul cover command or the API of istanbul.
  2. Run istanbul-coveralls command. See the docs of node-coveralls for more information about its usage.

Option

--no-rm

By default, it removes ./coverage after coverage reporting. If --no-rm flag is enabled, it doesn't remove the directory.

istanbul cover test.js && istanbul-coveralls --no-rm

Example

istanbul cover ./node_modules/.bin/_mocha && ./node_modules/.bin/istanbul-coveralls

If you run the test as a npm script, you can omit directory names from the command.

istanbul cover _mocha && istanbul-coveralls

License

Copyright (c) 2014 - 2015 Shinnosuke Watanabe

Licensed under the MIT LIcense.

istanbul-coveralls's People

Contributors

shinnn avatar

Watchers

James Cloos avatar udu 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.