在Nd的Hudson中找不到测试报告文件 [英] No test report files were found in Hudson with NUnit

查看:70
本文介绍了在Nd的Hudson中找不到测试报告文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用批处理命令在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆