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