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

The previously chosen AssertionFormatterFacade.

atriumErrorAdjuster

abstract val atriumErrorAdjuster: AtriumErrorAdjuster

The previously chosen AtriumErrorAdjuster.

Functions

withCustomReporter

abstract fun withCustomReporter(factory: (AssertionFormatterFacade, AtriumErrorAdjuster) -> 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, atriumErrorAdjuster: AtriumErrorAdjuster): ReporterOption