25

GitHub - bcoe/c8: output coverage reports using Node.js' built in covera...

 5 years ago
source link: https://github.com/bcoe/c8
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

c8 - native V8 code-coverage

Build Status Coverage Status Conventional Commits

Code-coverage using Node.js' build in functionality that's compatible with Istanbul's reporters.

Like nyc, c8 just magically works:

npm i c8 -g
c8 node foo.js

The above example will output coverage metrics for foo.js.

c8 report

run c8 report to regenerate reports after c8 has already been run.

Disclaimer

c8 uses bleeding edge Node.js features, make sure you're running Node.js >= 10.10.0.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK