doc / ch.tutteli.atrium.assertions / ExplanatoryAssertionGroup

ExplanatoryAssertionGroup

class ExplanatoryAssertionGroup : EmptyNameAndSubjectAssertionGroup

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, which are defined for subject.

name

open val name: Translatable

Untranslatable.EMPTY -- an empty string as Untranslatable.

subject

open val subject: Any

The empty string.

type

open val type: AssertionGroupType

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

Functions

holds

fun holds(): Boolean

Holds if all its assertions hold.