node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป


Mocha Xunit-cov Reporter


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

How to use

  • Add "xunit-cov" to your package.json as a developmentDependency
  • Run mocha with -R xunit-cov or --reporter xunit-cov


This reporter is just the original xunit reporter from mocha.