mocha-sonar-generic-test-coverage-file
v0.0.3
Published
Mocha sonar generic test report integrator
Downloads
544
Maintainers
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:
- Please use mocha 1.20.1 or later version. Otherwise, file name could be empty in the report file.