Does anybody know a way that works with a current sonar Version? Or is there any plan to support it?
Yes dario i can wait. It would help. The coverage (based on lcov file) i already see in sonar but not the testcase count or completion rate.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/3bce7872-b932-4375-b4bc-196dc0ec23bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
// Project configuration.
grunt.config.init({
// MOCHA ISTANBUL Test & Coverage
mocha_istanbul: {
default: {
// a folder works nicely
src: ['test/**/*.test.js'],
options: {
lazy: true,
mask: '*.test.js',
coverageFolder: 'doc/coverage'
}
}
},
istanbul_check_coverage: {
default: {
options: {
// will check both coverage folders and merge the coverage results
coverageFolder: 'doc/coverage*',
check: {
lines: 80,
statements: 80
}
}
}
}});
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
sonar.tests=test
sonar.test.exclusions = /test/**/*.*
sonar.javascript.lcov.reportPath = doc/coverage/lcov.info
and the screenshot show you what I get on Sonar. (ps: Sonar version 5.5)
Hope this help.CheersDario--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/ba4c0e74-c937-488d-a252-9159b04c8069%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am interested in how can I Import the test results like how many testcases are successful or failing next to the coverage.
In Java projects I see coverage and test results but in nodejs projects I can only see the coverage results.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/aa888e7f-908e-44e3-a576-bfc737da8282%40googlegroups.com.