html-file-cov

v1.0.0
Mocha html-cov reporter replacement which writes to a file
mocha html-cov coverage

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.

npm i html-file-cov

Metadata

  • MIT
  • >=0.6
  • Tom Rudick
  • released 3/25/2015

Downloads

Maintainers