Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure TeamCity to run only unit tests with certain categories?

I have some unit test fixtures which have been attributed with [Category("Fast")]

How to configure TeamCity so that it runs only the unit tests whose category name is "Fast"?

I'm sure there must be a way.

like image 927
The Light Avatar asked Jul 19 '13 09:07

The Light


1 Answers

When you are using the built-in NUnit build step you could specify the categories which should be tested and which not.

enter image description here

See http://confluence.jetbrains.com/display/TCD8/NUnit

like image 64
ccellar Avatar answered Sep 17 '22 20:09

ccellar