Sonarqube ';通用覆盖率报告';已跳过,因为缺少一个必需的属性

Sonarqube ';通用覆盖率报告';已跳过,因为缺少一个必需的属性,sonarqube,sonarqube-scan,Sonarqube,Sonarqube Scan,正在使用SonarQube sonar.TestExecutionReportPath导入测试执行 正在使用中的文档中的示例: 使用文档中的示例xml: <testExecutions version="1"> <file path="testx/ClassOneTest.xoo"> <testCase name="test1" duration="5"/> <testCase name="test2" duration="500"> <s

正在使用SonarQube sonar.TestExecutionReportPath导入测试执行

正在使用中的文档中的示例:

使用文档中的示例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>

其他
堆栈跟踪
堆栈跟踪
只能更改路径值

但是得到这个错误:

已跳过“常规覆盖率报告”,因为缺少一个必需的属性

这个错误的原因是什么

顺便说一句,如果我把tes执行导入到SonarQube中,我在哪里可以看到它

运行声纳QUBE 6.5和扫描仪3.0.3.778


感谢

刚刚在日志中发现以下消息:1个未知文件的测试执行数据被忽略,包括:您的文件路径需要与扫描程序看到的路径匹配。
testx
确实在项目的根目录中吗?是testcase.xml位置的根目录,还是需要在testExecutions xml中的源位置?@larskaarendersen您找到解决上述问题的方法了吗?@larskaarendersen您好,您解决了这个问题了吗?