doc / ch.tutteli.atrium / AtriumFactory / newOnlyFailureReporter

newOnlyFailureReporter

fun newOnlyFailureReporter(assertionFormatterFacade: IAssertionFormatterFacade): IReporter

Overrides IAtriumFactory.newOnlyFailureReporter

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

Parameters

assertionFormatterFacade - The formatter which is used to format IAssertions.

Return
The newly created reporter.