doc / ch.tutteli.atrium.logic.creating.iterablelike.contains.reporting / InOrderOnlyReportingOptions

InOrderOnlyReportingOptions

interface InOrderOnlyReportingOptions (source)

Properties

numberOfElementsInSummary

abstract val numberOfElementsInSummary: Int

Indicates until how many elements the summary view shall be used. If there are more elements in the IterableLike, then only failing expectations shall be shown.

Functions

showAlwaysSummary

open fun showAlwaysSummary(): Unit

Always shows a summary where both failing and successful expectations are shown, same as InOrderOnlyReportingOptions.showOnlyFailingIfMoreElementsThan(Int.MAX_VALUE).

showOnlyFailing

open fun showOnlyFailing(): Unit

Always shows only failing expectations, same as InOrderOnlyReportingOptions.showOnlyFailingIfMoreElementsThan(0)

showOnlyFailingIfMoreElementsThan

abstract fun showOnlyFailingIfMoreElementsThan(number: Int): Unit

Show only failing expectations, i.e. elements which do not match, instead of a summary which lists also successful expectations/elements.