...
Why?
To make it easy to find the tests for a class.
Unit test categories.
- Uncategorized - unit test. Fast test to test a class in isolation.
- TestCategory.Integration - integration test where multiple classes / components are used
- TestCategory.DataAccess - specific integration test where file is accessed (read / write)
- TestCategory.WindowsForms - specific integration where form is shown
- Pefromance - unit or integration test where speed of the code is measured.
- Jira - test describing a bug in Jira. The test should specify for which issue it was created.
...