Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
README.md
config.json
index.js
package.json

README.md

Mocha Xunit-html-cov Reporter

xunit-html-cov

The XunitHTMLCov reporter is similar to the xunit and html reporter, however when run against a library instrumented by node-jscoverage it will produce coverage output.

How to use

  • Add "xunit-html-cov" to your project's dev dependencies:

    { "name": "my-project", . . . "devDependencies": { . . "xunit-html-cov": "*" } }

  • Run mocha with -R xunit-html-cov or --reporter xunit-html-cov

  • The xunit-html-cov is stored in process.cwd() or a given path in the config.json

Credits

This reporter is just the original xunit reporter and html reporter from mocha.

Something went wrong with that request. Please try again.