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

DescriptiveAssertionWithFailureHint

interface DescriptiveAssertionWithFailureHint (source)

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

Types

FinalStep

interface FinalStep : AssertionBuilderFinalStep<Assertion>

Final step which creates a DescriptiveAssertion if the test holds or an AssertionGroup which includes additionally a failure hint created by the given failureHintFactory in case showHint evaluates to true.

ShowOption

interface ShowOption

Option step which allows to specify in which situations the failure hint should be shown.