Reputation: 369
I want to run all the ignored tests in my solution in a different build configuration in TeamCity. I didn't see any explicit why to do it in the build step configuration page.
Can it be done?
Upvotes: 1
Views: 3163
Reputation: 2538
How did you mark your tests - your question is not quite clear in this point? Did you use the Explicit
or Ignored
attribute? If the latter then these tests will not run at all.
Upvotes: 2
Reputation: 3002
The Ignore attribute is the wrong thing to use here. It should be used for tests you do not wish to run at all. Try using Categories instead. TeamCity has two properties you can set within an NUnit build step.
NUnit categories include and NUnit categories exclude control which tests will be run.
Upvotes: 7