doc / ch.tutteli.atrium.assertions / AssertionGroupType

AssertionGroupType

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.

Inheritors

DoNotFilterAssertionGroupType

interface DoNotFilterAssertionGroupType : AssertionGroupType

An AssertionGroupType which indicates that a Reporter should not filter its AssertionGroup.assertions.

FeatureAssertionGroupType

interface FeatureAssertionGroupType : AssertionGroupType

Represents the AssertionGroupType for AssertionGroups which contain some kind of feature assertions.

InvisibleAssertionGroupType

object InvisibleAssertionGroupType : AssertionGroupType

Represents 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.

ListAssertionGroupType

interface ListAssertionGroupType : AssertionGroupType

Represents 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.).

RootAssertionGroupType

object RootAssertionGroupType : AssertionGroupType

The AssertionGroupType for AssertionGroups which are the root of all assertions.