InOrderOnlyReportingOptions

Reporting options for toContain.inOrder.only expectation functions.

Since

0.17.0

Properties

Link copied to clipboard

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.

Functions

Link copied to clipboard

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

Link copied to clipboard
open fun showOnlyFailing()

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

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.