How can I run all NUnit Tests in Team City?

Michael Blake picture Michael Blake · Apr 13, 2011 · Viewed 15.1k times · Source

We are using TeamCity 6.0 to build VS C# solutions each commit.
Once the build is complete, a different test TC project runs. So that developers can add/remove/edit VS unit test projects, how can I make TeamCity use the the sln file or search for test dll's?
I don't want to have to edit the build each time a new test project is added to the VS solution.

Run tests from: **\*Test*.dll Doesn't appear to work, it only get s the first Test (which is currently failing)

Build Step

Answer

Michael Blake picture Michael Blake · Apr 13, 2011

Fixed :) - RTFL (Read the log!)
Run tests from: **\bin\debug\*Test*.dll