doc / ch.tutteli.atrium.domain.builders.reporting / ReporterOption

ReporterOption

interface ReporterOption (source)

Provides options to finalise the building process, which means creating a Reporter.

Properties

assertionFormatterFacade

abstract val assertionFormatterFacade: AssertionFormatterFacade

Functions

withCustomReporter

abstract fun withCustomReporter(factory: (AssertionFormatterFacade) -> Reporter): ReporterBuilderFinalStep

Uses the given factory to build a custom Reporter.

withOnlyFailureReporter

abstract fun withOnlyFailureReporter(): ReporterBuilderFinalStep

Uses CoreFactory.newOnlyFailureReporter as Reporter.

Companion Object Functions

create

fun create(assertionFormatterFacade: AssertionFormatterFacade): ReporterOption