doc / ch.tutteli.atrium.reporting / ReporterBuilder

ReporterBuilder

class ReporterBuilder (source)

A builder to create an IReporter consisting of an IObjectFormatter which is used by an IAssertionFormatter which in turn is used by the created IReporter.

Types

AssertionMessageBuilder class AssertionMessageBuilder

Constructors

<init> ReporterBuilder(assertionFormatter: IAssertionFormatter)

A builder to create an IReporter consisting of an IObjectFormatter which is used by an IAssertionFormatter which in turn is used by the created IReporter.

Functions

buildOnlyFailureReporting fun buildOnlyFailureReporting(): IReporter

Uses AtriumFactory.newOnlyFailureReporter as IReporter.

Companion Object Functions

withDetailedObjectFormatter fun withDetailedObjectFormatter(): AssertionMessageBuilder

Uses AtriumFactory.newDetailedObjectFormatter as IObjectFormatter.