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

showOnlyIf

abstract fun showOnlyIf(predicate: () -> Boolean): DescriptionOption<FinalStep> (source)

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