Usage of Categories

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 {
  ...
}

Test Level

These are the categories of the The icon for the level category Level type:

Overview of level categories
Category Icon Description
ApplicationLevel The icon for application level A blackbox testing the application as a whole on some aspect.
ComponentLevel The icon for component level A test case that exercises a component consisting of a number of units and/or other components.
UnitLevel The icon for unit level A test case that exercises on a tiny unit.

Test Type

These are the categories of the The icon for the type category TestType type:

Overview of test type categories
Category Icon Description
Security The icon for type security A test case on security issues.
Performance The icon for type performance A test case on performance issues.
ObjectBasics The icon for type object basics A technical test case dealing with low level object issues like the correctness of equals and compareTo.
Construction The icon for type construction A technical test case dealing with the construction of instances. This is a sub category of ObjectBasics
Load The icon for type load A test case on load and stability issues.
Integration The icon for type integration A test case on integration issues for dealing with the correct interaction of components.
Coverage The icon for type coverage A technical test case written to meet test coverage constraints.
Acceptance The icon for type acceptance A test case on acceptance showing that a required feature/story/requirement is correctly implemented.

Miscellaneous

These are categories that are orthogonal to other categories.

Category Icon Description
Epic The icon for an epic A test case that belongs to the given Epic. An epic is a collection of user stories with a common topic.
Slow The icon for a slow test that takes a considerable amount of execution time A test case that takes a considerable amount of execution time.
Technical The icon for a technical test 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.