doc / ch.tutteli.atrium / AtriumFactory / newOnlyFailureReporter

newOnlyFailureReporter

fun newOnlyFailureReporter(assertionFormatterFacade: AssertionFormatterFacade): Reporter

Overrides IAtriumFactory.newOnlyFailureReporter

Creates a Reporter which reports only failing assertions and uses the given assertionFormatterFacade to format assertions and messages.

Parameters

assertionFormatterFacade - The formatter which is used to format Assertions.

Return
The newly created reporter.