doc / ch.tutteli.atrium.domain.builders.assertions.builders

Package ch.tutteli.atrium.domain.builders.assertions.builders

Contains extension functions for the AssertionBuilder.

Types

DescriptiveAssertionWithFailureHint

interface DescriptiveAssertionWithFailureHint

Defines the contract to build a DescriptiveAssertion like assertion with an additional hint which might be shown if the Descriptive.DescriptionOption.test fails.

FixedClaimGroup

interface FixedClaimGroup

Defines the contract to build an AssertionGroup which has a fixed AssertionGroup.holds.

FixedClaimLikeGroup

interface FixedClaimLikeGroup

Defines the contract to build an AssertionGroup which has a fixed AssertionGroup.holds or the like.

PartiallyFixedClaimGroup

interface PartiallyFixedClaimGroup

Defines the contract to build an AssertionGroup whose AssertionGroup.holds is a logic AND operation composed by a fixed part and its AssertionGroup.assertions.

Properties

fixedClaimGroup

val AssertionBuilder.fixedClaimGroup: GroupTypeOption

Builder to create an AssertionGroup whose AssertionGroup.holds is fixed (not determined based on its AssertionGroup.assertions).

partiallyFixedClaimGroup

val AssertionBuilder.partiallyFixedClaimGroup: GroupTypeOption

Builder to create an AssertionGroup whose AssertionGroup.holds is a logic AND operation composed by a fixed part and its AssertionGroup.assertions.

Functions

withFailureHint

fun DescriptionOption<FinalStep>.withFailureHint(failureHintFactory: () -> Assertion): ShowOption

Option to create a DescriptiveAssertion like assertion with an additional hint which might be shown if the Descriptive.DescriptionOption.test fails.