【发布时间】:2018-10-17 11:24:39
【问题描述】:
我在 JS 项目中使用 sonarqube,我想为单元测试集成 XML 结果。我有这个错误:
ERROR: Caused by: Line 2 of report refers to a file which is not configured as a test file: modules/project/projectTest.js
我不明白为什么会出现此错误。 projectTest 文件被分析,我是否需要设置一些东西以便 sonarqube 可以将它们作为测试文件处理。
我的 XML 结果文件:
<testExecutions version="1">
<file path="modules/proejct/projectTest.js">
<testCase name="Test" duration="16"/>
</file>
</testExecutions>
感谢您的帮助
【问题讨论】:
标签: javascript sonarqube