在Nd的Hudson中找不到测试报告文件 [英] No test report files were found in Hudson with NUnit
问题描述
我可以使用批处理命令在Hudson
中成功运行NUnit
,它会在NUnit
安装目录中生成TestResult.xml
.但是Hudson
产生的错误是
I could successfully run NUnit
in Hudson
using batch command and it generates the TestResult.xml
in the NUnit
installation directory. But Hudson
generates the error that
No NUnit test report files were found. Configuration error?
在Publish NUnit test result report
下为xml文件提供正确路径后的
. xml文件应该在项目的工作区中,还是有其他配置可以使它起作用??
after the correct path is given to the xml file under Publish NUnit test result report
. Should the xml file be in the project's workspace or is there any other configuration to make this work???
我提到了问题与Hudson发布NUnit测试结果报告 也是,但是没有找到答案.
I referred to the Problem Publishing NUnit Testing Result Reports with Hudson too but no answer was found.
推荐答案
尝试了各种方法来解决上述问题后,我可以通过将TestResult.xml
文件放在项目在Hudson
中的工作区文件夹中来解决此问题. s jobs
文件夹,并在Publish NUnit test result report
下仅提供TestResult.xml
,而不是xml文件的绝对路径.
After trying in different ways to solve the above problem, I could solve it by placing the TestResult.xml
file in the workspace folder for the project in Hudson
s jobs
folder and giving only TestResult.xml
under Publish NUnit test result report
instead of giving the absolute path to the xml file.
希望这可以帮助某人...
Hope this may help someone...
这篇关于在Nd的Hudson中找不到测试报告文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!