html-file-cov
v1.0.0
Published
Mocha html-cov reporter replacement which writes to a file
Downloads
131
Readme
html-file-cov
About
A Mocha reporter which outputs JavaScript code coverage information directly into an HTML file. Works exactly like the built in html-cov reporter except writes to a file instead of stdout.
Also outputs dot-style test pass/failures to stdout. Useful to see the progress of long-running test suites.
Installation
npm install html-file-cov
Usage
html-file-cov is to be used with mocha and code coverage tools such as node-jscoverage or blanket.
mocha testrunner.js -R html-file-cov
Results will be saved into a file named coverage.html file within the current working directory.