This projects provides a number of standard types to be used as categories for JUnit.
Categories are added as annotations to the test case like this:
@Category(Construction.class) @Uut(type = TestDocExtractor.class) public class TestDocExtractorConstructorTest { ... }
These are the categories of the Level type:
Category | Icon | Description |
---|---|---|
ApplicationLevel | A blackbox testing the application as a whole on some aspect. | |
ComponentLevel | A test case that exercises a component consisting of a number of units and/or other components. | |
UnitLevel | A test case that exercises on a tiny unit. |
These are the categories of the TestType type:
Category | Icon | Description |
---|---|---|
Security | A test case on security issues. | |
Performance | A test case on performance issues. | |
ObjectBasics | A technical test case dealing with low level object issues like the correctness of equals and compareTo. | |
Construction | A technical test case dealing with the construction of instances. This is a sub category of ObjectBasics | |
Load | A test case on load and stability issues. | |
Integration | A test case on integration issues for dealing with the correct interaction of components. | |
Coverage | A technical test case written to meet test coverage constraints. | |
Acceptance | A test case on acceptance showing that a required feature/story/requirement is correctly implemented. |
These are categories that are orthogonal to other categories.
Category | Icon | Description |
---|---|---|
Epic | A test case that belongs to the given Epic. An epic is a collection of user stories with a common topic. | |
Slow | A test case that takes a considerable amount of execution time. | |
Technical | A test case written to check the correctness of a technical detail that usually is not telling a characteristic story about the unit under test. ObjectBasics, Construction (by itself an ObjectBasic), and Coverage. Use this categories for test cases that are required to be written, but usually should not be shown in summaries. |