Property | Example | Description |
|---|---|---|
sonar.genericcoverage.reportPaths | report1.xml, report2.xml | Comma separated paths to the Coverage by UT Reports |
sonar.genericcoverage.itReportPaths | it_report.xml | Comma separated paths to the Coverage by IT Reports |
sonar.genericcoverage.unitTestReportPaths | ut_report.xml | Comma separated paths to the Unit Tests Execution Results Report |
--
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/3bdff6a6-e3ed-493f-8cd3-836102482bc5%40googlegroups.com.
Hi Pierre-Yves,That's weird, test results (at least the test-count, and maybe ignored test count) are also an indicator of improving or degrading quality; in a setting where coverage remains somewhat equal a increase or decrease in the amount of tests can be a indicator. Perhaps it is possible to extract the test-count from the coverage result?--
Michael van de GiessenOp 6 september 2016 bij 09:11:44, Pierre-Yves Nicolas (pierre-yves.nicolas@sonarsource.com) schreef:
That's not in our current plans.Unlike coverage, test results are not a primary target for SonarQube.Regards,Pierre-Yves
Op 6 september 2016 bij 10:23:04, Pierre-Yves Nicolas (pierre-yv...@sonarsource.com) schreef:
Hi Pierre-Yves,The quality indicator is at a project level; on a project in support-phase it's common that the coverage of the units tests remain equal but the number of tests increases due to tests being built per-ticket or integration tests testing the same code as unit tests. On the other hand tests being @Ignored because of quick-fixes should introduce technical debt.Solely using test-coverage as an indicator might even provoke less-quality code when trying to get to the 100% (for example creating big integration tests for large coverage).
Michael van de GiessenOp 6 september 2016 bij 10:23:04, Pierre-Yves Nicolas (pierre-yv...@sonarsource.com) schreef:
Hi Michael,Can you please elaborate about using the number of tests as a quality indicator?Would you read it at project level of for each individual test file?Thanks,Pierre-Yves
On 6 September 2016 at 09:15, Michael van de Giessen <michael.van...@gmail.com> wrote:
Hi Pierre-Yves,That's weird, test results (at least the test-count, and maybe ignored test count) are also an indicator of improving or degrading quality; in a setting where coverage remains somewhat equal a increase or decrease in the amount of tests can be a indicator. Perhaps it is possible to extract the test-count from the coverage result?--
Michael van de Giessen
Op 6 september 2016 bij 09:11:44, Pierre-Yves Nicolas (pierre-yv...@sonarsource.com) schreef:
That's not in our current plans.Unlike coverage, test results are not a primary target for SonarQube.Regards,Pierre-Yves
On 2 September 2016 at 09:32, <michael.van...@gmail.com> wrote:
sorry; but the junit results produced by karma cannot seem to be converted to the required SonarQube format because they internally lack the full path to the testfilealso seehttps://github.com/tornaia/karma-sonarqube-unit-reporter and it's current issuesthere are multiple karma sonarqube junit reporters attempts but they all failis it possible to re-introduce somekind of Javascript junit report parser (like the deprecated one) because now there's no out-of-the-box working combination between SonarQube and Karma in regarding the test 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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/3bdff6a6-e3ed-493f-8cd3-836102482bc5%40googlegroups.com.
--
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/CA%2Bj%3DmR%3D8aC0OcYqNiXeE3GENtiKJcFGwzGPsmhOYpwE0WdSKjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.