doc / ch.tutteli.atrium.assertions / ExplanatoryAssertionGroup

ExplanatoryAssertionGroup

class ExplanatoryAssertionGroup : EmptyNameAndRepresentationAssertionGroup
Deprecated: Use AssertionGroup, do not rely on this specific type, will be made internal with 1.0.0

Represents an AssertionGroup with an ExplanatoryAssertionGroupType, which means a Reporter should not show whether the assertions hold or not -- moreover holds always returns true.

Inherited Properties

assertions

open val assertions: List<Assertion>

The assertions of this group.

description

open val description: Translatable

Untranslatable.EMPTY -- an empty string as Untranslatable.

representation

open val representation: Any

Text.EMPTY -- an empty string as Text.

type

open val type: AssertionGroupType

The type of the group, e.g. InvisibleAssertionGroupType.

Functions

holds

fun holds(): Boolean

Holds if all its assertions hold.