doc / ch.tutteli.atrium.reporting / ReporterBuilder / AssertionPairFormatterOptions

AssertionPairFormatterOptions

class AssertionPairFormatterOptions
Deprecated: Use the builder from package domain.builders.reporting; will be removed with 1.0.0

Provides options to create an AssertionPairFormatter.

Constructors

<init>

AssertionPairFormatterOptions(options: ReporterBuilder.AssertionFormatterChosenOptions)

Provides options to create an AssertionPairFormatter.

Functions

withSameLineTextAssertionFormatter

fun withSameLineTextAssertionFormatter(vararg bulletPoints: Pair<Class<out BulletPointIdentifier>, String>): ReporterBuilder

withTextAssertionPairFormatter

fun withTextAssertionPairFormatter(factory: (ObjectFormatter, Translator) -> AssertionPairFormatter): ReporterBuilder.TextAssertionFormatterOptions

Uses the given factory to build a custom AssertionPairFormatter.

withTextSameLineAssertionPairFormatter

fun withTextSameLineAssertionPairFormatter(): ReporterBuilder.TextAssertionFormatterOptions

Uses CoreFactory.newTextSameLineAssertionPairFormatter as AssertionPairFormatter.