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

teamcity, unit-testing

Solution

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

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

Problem

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.

Original source