我可以使用批處理命令成功運行NUnit
Hudson
並且它會在NUnit
安裝目錄中生成TestResult.xml
。但是Hudson
產生使用NUnit在Hudson中找不到測試報告文件
No NUnit test report files were found. Configuration error?
正確的路徑Publish NUnit test result report
下給出的xml文件後的錯誤。該xml文件應該在項目的工作區或有任何其他配置,使其工作?
我也提到Problem Publishing NUnit Testing Result Reports with Hudson 也沒有找到答案。
是的,你應該能夠使用相對於工作區根的路徑。例如,project/tests/TestResult.xml,或者如果您有多個結果,請使用project/tests/*。xml。請注意,沒有領先/ – Dodecapus