How can I run all NUnit Tests in Team City?

2019-03-22 19:37发布

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

1条回答
闹够了就滚
2楼-- · 2019-03-22 20:16

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

查看更多
登录 后发表回答