xunit-html-cov

0.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i xunit-html-cov

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • neco