unittest.common provides the types and common methods required for printing in the unit test framework.
Name Description
DataProvider Specifies a component of DataStrategy, which is used to provide test data. T specifies the data type provided by the provider.
DataShrinker Specifies a component of DataStrategy, which is used to shrink data during testing. T specifies the type of data handled by the shrinker.
DataStrategy Provides the data strategy for parameterized tests. T specifies the data type operated on by the strategy.
PrettyPrintable Provides stronger capabilities of handling colors and indentation formats during printing for types that implement this interface.
Name Description
Configuration Specifies an object for storing the unittest
configuration data generated by the @Configure
macro. It is a class similar to HashMap
, but its keys are not of a key or value type, but of a String
type and its values can be of any given type.
ConfigurationKey Specifies a key value object of a configuration item. Provides the equality comparison and hashCode methods.
PrettyPrinter Specifies a printer with color, alignment, and indentation controls.
PrettyText Specifies a constructor-like class for storing the printed output.
Name Description
Color Specifies the color.