interface AssertionGroupType : BulletPointIdentifier (source)
Represents a type of an AssertionGroup.
This interface is essentially a marker interface and should be sub-typed by other interfaces.
As side notice: I decided to use a marker interface instead of an enum class -- which is not open for
extension -- so that an unknown number of types can be created without the need to modify existing implementations.
| interface DoNotFilterAssertionGroupType : AssertionGroupTypeAn AssertionGroupType which indicates that a Reporter should not filter its AssertionGroup.assertions. | |
| interface FeatureAssertionGroupType : AssertionGroupTypeRepresents the AssertionGroupType for AssertionGroups which contain some kind of feature assertions. | |
| interface Represents the AssertionGroupType for AssertionGroups whose assertions should be displayed with an extra indent. Such a group might have a AssertionGroup.description and AssertionGroup.representation (by accident) but should not be mentioned in reporting. | |
| object InvisibleAssertionGroupType : AssertionGroupTypeRepresents the AssertionGroupType for AssertionGroups whose assertions should be displayed in a manner that the user does not even notice that the Assertions have been grouped. | |
| interface ListAssertionGroupType : AssertionGroupTypeRepresents the AssertionGroupType for AssertionGroups whose assertions should be displayed in a list (up to the Reporter if it is a list with bullets, squares etc.). | |
| object RootAssertionGroupType : AssertionGroupTypeThe AssertionGroupType for AssertionGroups which are the root of all assertions. |