17 April, 2014

Categorize your Unit Tests

When building a larger application which includes verifying tests, it’s often a good idea to keep things as tidy as possible.

You can do so in VS (2010 –>) by using the TestCategory attribute on your methods. This gives you the joy of being able to run only a select set of tests.

image

No comments: