coverdeeps

Check tests coverture of a module and its dependencies

ISC License

Downloads
16
Stars
1
Committers
2

coverdeeps

Check tests coverture of a module and its dependencies

Why the name

It's a mockup of coverture, dependencies and deep, the main three characteristics of coverdeeps tool.

How does it work?

Coverdeeps pulls out of the npm registry (if your registry is default) the name of the package then it grabs the test coverage from coveralls.io and presents it to you like shown below.

Usage

Try to use it on the coverdeeps module, just change your directory to the coverdeeps dependency and type:

$ node server.js

and you should get something like this:

coverdeeps: 0.00% (0.00%)
├── archy: 0.00%
├─┬ async: 99.97% (100.00%)
 └── lodash: 99.97%
├─┬ chalk: 0.00% (100.00%)
 ├── ansi-styles: 0.00%
 ├── escape-string-regexp: 0.00%
 ├─┬ has-ansi: 0.00% (0.00%)
 │ └── ansi-regex: 0.00%
 ├─┬ strip-ansi: 0.00% (0.00%)
 │ └── ansi-regex: 0.00%
 └── supports-color: 0.00%
├─┬ concat-stream: 0.00% (0.00%)
 ├── inherits: 0.00%
 ├─┬ readable-stream: 0.00% (0.00%)
 │ ├── core-util-is: 0.00%
 │ ├── inherits: 0.00%
 │ ├── isarray: 0.00% (0.00%)
 │ ├── process-nextick-args: 0.00%
 │ ├── string_decoder: 0.00% (0.00%)
 │ └── util-deprecate: 0.00%
 └── typedarray: 0.00%
└── npm-remote-ls