5

Are using the SonarQube sonar.testExecutionReportPaths to import test execution

Are using the example from the doc in: https://docs.sonarqube.org/display/SONAR/Generic+Test+Data

Using the example xml from the doc:

<testExecutions version="1">
<file path="testx/ClassOneTest.xoo">
<testCase name="test1" duration="5"/>
<testCase name="test2" duration="500">
<skipped message="short message">other</skipped>
</testCase>
<testCase name="test3" duration="100">
<failure message="short">stacktrace</failure>
</testCase>
<testCase name="test4" duration="500">
<error message="short">stacktrace</error>
</testCase>
</file>
</testExecutions>

Have only change the path value.

But get this error:

'Generic Coverage Report' skipped because one of the required properties is missing.

What is the reason for this error?

BTW. If I get the tes execution imported where can I see it in SonarQube.

Running SonarQube 6.5 and scanner 3.0.3.778.

Thanks

0 Answers0