Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 610
Dulini Atapattu Avatar asked Aug 17 '11 08:08

Dulini Atapattu


1 Answers

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

like image 103
Dulini Atapattu Avatar answered Sep 17 '22 17:09

Dulini Atapattu