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

InAnyOrderOnlyReportingOptions

interface InAnyOrderOnlyReportingOptions : OnlyReportingOptions (source)

Reporting options for toContain.inAnyOrder.only expectation functions.

Since
0.18.0

Inherited Properties

maxNumberOfExpectedElementsForSummary

abstract val maxNumberOfExpectedElementsForSummary: Int

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

Inherited Functions

showAlwaysSummary

open fun showAlwaysSummary(): Unit

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

showOnlyFailing

open fun showOnlyFailing(): Unit

Always shows only failing expectations, same as OnlyReportingOptions.showOnlyFailingIfMoreExpectedElementsThan(0)

showOnlyFailingIfMoreExpectedElementsThan

abstract fun showOnlyFailingIfMoreExpectedElementsThan(number: Int): Unit

Show only failing expectations, i.e. elements which do not match, instead of a summary (which lists also successful expectations/elements) if there are more than number expected elements.