interface DescriptiveAssertionWithFailureHintShowOption
(source)
Option step which allows to specify in which situations the failure hint should be shown.
abstract val showForAnyFailure: DescriptiveLikeAssertionDescriptionOption<DescriptiveAssertionWithFailureHintFinalStep>
Defines that the failure hint shall be shown in any case. |
abstract fun showOnlyIf(predicate: () -> Boolean): DescriptiveLikeAssertionDescriptionOption<DescriptiveAssertionWithFailureHintFinalStep>
Defines that the failure hint shall only be shown if the given predicate holds. |
fun create(test: () -> Boolean, failureHintFactory: () -> Assertion): DescriptiveAssertionWithFailureHintShowOption |