mocha-sonar-generic-test-coverage-file

0.0.3 • Public • Published

mocha-sonar-generic-test-coverage-file

Basically the same reporter as mocha-sonar-generic-test-coverage reporter(https://github.com/mageddo/mocha-sonar-generic-test-coverage), but writes the output to a file. And some issues fixed.

Why we need to do that? The logging output in the test cases can pollute the final report file when we use capture keyword in grunt.

By default, the output file would be "gunit.xml" located in root folder of the same project.

Notes:

  1. Please use mocha 1.20.1 or later version. Otherwise, file name could be empty in the report file.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    231
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    231
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i mocha-sonar-generic-test-coverage-file

Weekly Downloads

201

Version

0.0.3

License

MIT

Last publish

Collaborators

  • yuqingguo