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

Package ch.tutteli.atrium.domain.builders.reporting

Contains the ReporterBuilder.

Types

AssertionFormatterChosenOptions

data class AssertionFormatterChosenOptions

Represents the so far chosen options which are relevant to create AssertionFormatters.

AssertionFormatterControllerOption

interface AssertionFormatterControllerOption

Provides options to create an AssertionFormatterController.

AssertionFormatterFacadeOption

interface AssertionFormatterFacadeOption

Provides options to create an AssertionFormatterFacade.

AssertionPairFormatterOption

interface AssertionPairFormatterOption

Provides options to create an AssertionPairFormatter.

AtriumErrorAdjusterCommonOption

interface AtriumErrorAdjusterCommonOption<R : Any>

Provides common options to create an AtriumErrorAdjuster.

AtriumErrorAdjusterOption

interface AtriumErrorAdjusterOption : AtriumErrorAdjusterCommonOption<ReporterOption>

Provides options to create an AtriumErrorAdjusterOption.

ExpectBuilder

interface ExpectBuilder

Defines the contract to create custom assertion verbs, Expect<T> respectively.

ExpectOptions

data class ExpectOptions

Additional (non-mandatory) options for the ExpectBuilder to create an Expect.

LocaleOrderDeciderOption

interface LocaleOrderDeciderOption

Provides options to create a LocaleOrderDecider.

MultipleAdjustersOption

interface MultipleAdjustersOption : AtriumErrorAdjusterCommonOption<Unit>

Provides options to combine multiple AtriumErrorAdjusters.

ObjectFormatterOption

interface ObjectFormatterOption

Provides options to create an ObjectFormatter.

ReporterBuilder

expect interface ReporterBuilder : ReporterBuilderCommon

Provides options to create a Translator or TranslationSupplier -- the platform specific interface might provide further options.

ReporterBuilderCommon

interface ReporterBuilderCommon

Provides options to create a Translator or TranslationSupplier -- those options have to be provided on all platforms.

ReporterBuilderFinalStep

interface ReporterBuilderFinalStep

Final step in the ReporterBuilder process, creates the desired Reporter.

ReporterOption

interface ReporterOption

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

TextAssertionFormatterOption

expect interface TextAssertionFormatterOption : TextAssertionFormatterOptionCommon

Provides options to register AssertionFormatters to the chosen AssertionFormatterFacade -- the platform specific interface might provide further options.

TextAssertionFormatterOptionCommon

interface TextAssertionFormatterOptionCommon

Provides options to register AssertionFormatters to the chosen AssertionFormatterFacade -- those options have to be provided on all platforms.

TranslatorOption

expect interface TranslatorOption : TranslatorOptionCommon

Provides options to create a Translator -- the platform specific interface might provide further options.

TranslatorOptionCommon

interface TranslatorOptionCommon

Provides options to create a Translator -- those options have to be provided on all platforms.

Annotations

MultipleAdjustersOptionMarker

annotation class MultipleAdjustersOptionMarker

DSL Marker for MultipleAdjustersOption

Properties

reporterBuilder

val reporterBuilder: ReporterBuilder

Entry point to build a Reporter -- the first step provides options to create a Translator or a TranslationSupplier.

Functions

ExpectOptions

fun ExpectOptions(configuration: ExpectBuilder.OptionsChooser.() -> Unit): ExpectOptions