使用NUnit在Hudson中找不到测试报告文件

Dul*_*ttu 12 nunit unit-testing hudson

我可以成功运行NUnitHudson使用批处理命令和它产生TestResult.xmlNUnit安装目录.但是会Hudson产生错误

No NUnit test report files were found. Configuration error?
Run Code Online (Sandbox Code Playgroud)

在给出xml文件的正确路径之后Publish NUnit test result report.xml文件应该在项目的工作区中还是有任何其他配置才能使其工作?

我也提到了Hudson问题发布NUnit测试结果报告, 但没有找到答案.

Dul*_*ttu 15

以不同的方式来解决上述问题想后,我可以通过将解决它TestResult.xml的文件在工作区文件夹中的项目Hudson小号jobs文件夹,并只给TestResult.xmlPublish NUnit test result report而不是给人以XML文件的绝对路径.

希望这可以帮助某人......