RGuggisberg
RGuggisberg

Reputation: 4750

Can't get NUnit tests to run on Build Agent

I have read all of the posts on this forum on this subject and still have not figured this out. The error I am getting is:

Edit: In the log I see "Run VS Test Runner". Should this be a different Test Runner? "No test found. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again."

My environment is NUnit3 version 3.2.1 on TFS 2013 using VS 2013 targeting .NET4. My tests run fine when building on the local machine. I have the NUnit3 Test Adaptor installed on the Build Agent machine and I have a runsettings file. Queued builds work without error but the tests are not being run. I'm pretty sure that I have the "Test sources spec" correct in the Build Definition because I get an different error if I put something incorrect in that field. Where would I find a log... or how do I enable verbose logging that would expound on this error. Right now I have no idea where to look. Any help is appreciated. Thanks

Upvotes: 0

Views: 445

Answers (1)

chief7
chief7

Reputation: 14373

Install the nUnit Test Adapter Nuget package -

https://www.nuget.org/packages/NUnitTestAdapter/

Upvotes: 2

Related Questions