ic

istanbul-coveralls

A simple alias for istanbul + node-coveralls

Showing:

Popularity

Downloads/wk

537

GitHub Stars

21

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

5

Size (min+gzip)

224.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Mocha

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 - 2016 Shinnosuke Watanabe

Licensed under the MIT LIcense.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial