开发者

No test report files were found in Hudson with NUnit

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

开发者_JS百科No NUnit test report files were found. Configuration error?

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???

I referred to the Problem Publishing NUnit Testing Result Reports with Hudson too but no answer was found.


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...


I found that using double quotes is not working.

Example:

Test report XMLs = nunit-result.xml (works!) Test report XMLs = "nunit-result.xml" (do NOT work)

There is a SMALL chance that this is your problem...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜