How can I specify the path to JUnit results from integration tests?

瘦欲@ 提交于 2019-12-06 13:47:19

问题


So I know there is sonar.junit.reportsPath that is read by the Java plugin and takes a single directory of XML files to parse.

But what if I do not have one directory of test results, but two, specifically one for unit tests and one for integration tests? The more recent versions of Sonarqube gained some support for reporting coverage of these different test results via sonar.jacoco.reportPath and sonar.jacoco.itReportPath. I also find some references on the internet about sonar.junit.itReportsPath, but not in the official documentation or sources, so I guess its unsupported.

TL;DR - where can I specify the path to integration test results?

Software: Sonarqube 5.1.1, Sonarqube-Runner 2.4


回答1:


This feature is not available. Feel free to vote for https://jira.sonarsource.com/browse/SONAR-4101



来源:https://stackoverflow.com/questions/33390051/how-can-i-specify-the-path-to-junit-results-from-integration-tests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!