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

withTextCapabilities

abstract fun withTextCapabilities(vararg bulletPoints: Pair<KClass<out BulletPointIdentifier>, String>): AtriumErrorAdjusterOption

Uses CoreFactory.registerTextAssertionFormatterCapabilities to register the default AssertionFormatters intended for text output -- using the defined assertionPairFormatter, AssertionFormatterChosenOptions.objectFormatter and AssertionFormatterChosenOptions.translator -- to the specified AssertionFormatterChosenOptions.assertionFormatterFacade where the given bulletPoints can be used to customise the predefined bullet points.

Have a look at the sub types of BulletPointIdentifier to get a feel for what and how you can customise bullet points.