html-file-cov

1.0.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    26
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    26
  • 0.0.1
    0

Package Sidebar

Install

npm i html-file-cov

Weekly Downloads

26

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tmrudick