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

ObjectFormatterOptions

class ObjectFormatterOptions

Provides options to create an ObjectFormatter.

Constructors

<init>

ObjectFormatterOptions(translator: Translator)

Provides options to create an ObjectFormatter.

Functions

withDetailedObjectFormatter

fun withDetailedObjectFormatter(): AssertionFormatterControllerOptions

Uses AtriumFactory.newDetailedObjectFormatter as ObjectFormatter.

withObjectFormatter

fun withObjectFormatter(factory: (Translator) -> ObjectFormatter): AssertionFormatterControllerOptions

Uses the given factory to build a custom ObjectFormatter.