doc / ch.tutteli.atrium.assertions.builders / AssertionBuilder / explanatoryGroup

explanatoryGroup

abstract val explanatoryGroup: ExplanatoryAssertionGroupTypeOption (source)

Builder to create an AssertionGroup with a ExplanatoryAssertionGroupType -- such a group is always shown in reporting (a Reporter has to neglect whether the Assertion.holds or not). Use it to provide explanations. It is inter alia used in Iterable contains entries assertions to describe the identification lambda you used.

Notice, return type will change to ExplanatoryGroup.GroupTypeOption with 1.0.0.