mocha-sonar-generic-test-coverage-file

Mocha sonar generic test report integrator

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
mocha-sonar-generic-test-coverage-file
110.0.38 years ago8 years agoMinified + gzip package size for mocha-sonar-generic-test-coverage-file in KB

Readme

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.