Lar*_*sen 5 sonarqube sonarqube-scan
正在使用 SonarQube sonar.testExecutionReportPaths 导入测试执行
正在使用文档中的示例:https : //docs.sonarqube.org/display/SONAR/Generic+Test+Data
使用文档中的示例 xml:
<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>
Run Code Online (Sandbox Code Playgroud)
只有改变路径值。
但是得到这个错误:
跳过“通用覆盖率报告”,因为缺少所需的属性之一。
这个错误的原因是什么?
顺便提一句。如果我导入了 tes 执行,我在哪里可以在 SonarQube 中看到它。
运行 SonarQube 6.5 和扫描仪 3.0.3.778。
谢谢
| 归档时间: |
|
| 查看次数: |
3047 次 |
| 最近记录: |