mercredi 28 octobre 2015

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

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

Aucun commentaire:

Enregistrer un commentaire