doc / ch.tutteli.atrium.reporting / ReporterBuilder / TextAssertionFormatterOptions / withTextAssertionFormatter

withTextAssertionFormatter

fun withTextAssertionFormatter(factory: (AssertionFormatterChosenOptions) -> (AssertionFormatterController) -> AssertionFormatter, vararg otherFactories: (AssertionFormatterChosenOptions) -> (AssertionFormatterController) -> AssertionFormatter): ReporterBuilder (source)

Uses the given factory and otherFactories to create and register AssertionFormatters to the specified AssertionFormatterChosenOptions.assertionFormatterFacade.