doc / ch.tutteli.atrium / AtriumFactory / newOnlyFailureReporter

newOnlyFailureReporter

fun newOnlyFailureReporter(assertionFormatter: IAssertionFormatter): IReporter (source)

Overrides IAtriumFactory.newOnlyFailureReporter

Creates an IReporter which reports only failing assertions and uses the given assertionFormatter to format assertions and messages.

Parameters

assertionFormatter - The formatter which is used to format IAssertions.

Return
The newly created reporter.