In TFS 2012, we have several build definitions - CIs, Deployments and nightly.
Our CI builds run all of the (n)unit tests from our solution, however, we need to get it to ignore certain tests.
This is because we have some long running integration tests, and these only need to be run nightly.
Things I've tried:
- Using the
TestCategoryAttribute
(from MSTest) and setting the Test Case Filter property try and exclude 'Integration'. - Using the
CategoryAttribute
(from NUnit) and setting the Test Case Filter property try and exclude 'Integration'. - A combination of the above.
The tests that need to be ignored are all in separate assemblies with the word IntegrationTests or Integration.Tests in the name.
Thanks,
Kieron