Mocha sonar generic test report integrator
npm install mocha-sonar-generic-test-coverage-fileWhy 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.