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

showOnlyIf

abstract fun showOnlyIf(predicate: () -> Boolean): DescriptiveLikeAssertionDescriptionOption<DescriptiveAssertionWithFailureHintFinalStep> (source)

Defines that the failure hint shall only be shown if the given predicate holds.