DescriptiveAssertionWithFailureHint

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

Types

Link copied to clipboard

Sub Option step to define a failure hint in case the subject of the expectation is not defined.

Link copied to clipboard

Sub Option step to define a failure hint based on a defined subject of the expectation.

Link copied to clipboard

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.

Link copied to clipboard
interface ShowOption

Option which allows specifying in which situations the failure hint should be shown.

Link copied to clipboard

Sub Option step to define a failure hint in case the subject of the expectation is not defined.

Link copied to clipboard

Sub Option step to define a failure hint based on a defined subject of the expectation.