doc / ch.tutteli.atrium.assertions / IAssertionGroupType

IAssertionGroupType

interface IAssertionGroupType : IBulletPointIdentifier

Represents a type of an IAssertionGroup.

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

IDoNotFilterAssertionGroupType

interface IDoNotFilterAssertionGroupType : IAssertionGroupType

An IAssertionGroupType which indicates that a IReporter should not filter its IAssertionGroup.assertions.

IFeatureAssertionGroupType

interface IFeatureAssertionGroupType : IAssertionGroupType

Represents the IAssertionGroupType for IAssertionGroups which contain some kind of feature assertions.

IIndentAssertionGroupType

interface IIndentAssertionGroupType : IAssertionGroupType

Represents the IAssertionGroupType for IAssertionGroups whose assertions should be displayed with an extra indent. Such a group might have a IAssertionGroup.name and IAssertionGroup.subject (by accident) but should not be mentioned in reporting.

IInvisibleAssertionGroupType

interface IInvisibleAssertionGroupType : IAssertionGroupType

Represents the IAssertionGroupType for IAssertionGroups whose assertions should be displayed in a manner that the user does not even notice that the IAssertions have been grouped.

IListAssertionGroupType

interface IListAssertionGroupType : IAssertionGroupType

Represents the IAssertionGroupType for IAssertionGroups whose assertions should be displayed in a list (up to the IReporter if it is a list with bullets, squares etc.).

RootAssertionGroupType

object RootAssertionGroupType : IAssertionGroupType

The IAssertionGroupType for IAssertionGroups which are the root of all assertions.