doc / ch.tutteli.atrium / IAtriumFactory / newTextFeatureAssertionGroupFormatter

newTextFeatureAssertionGroupFormatter

abstract fun newTextFeatureAssertionGroupFormatter(bulletPoints: Map<Class<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController, objectFormatter: ObjectFormatter, translator: Translator): AssertionFormatter
Deprecated: Use AssertImpl.coreFactory instead; will be removed with 1.0.0

Creates an AssertionFormatter which is intended for text output (e.g. for the console) and formats AssertionGroups of type FeatureAssertionGroupType.

Parameters

bulletPoints - The bullet points used in reporting; will typically use the bullet point registered for PrefixFeatureAssertionGroupHeader as prefix of the group header and FeatureAssertionGroupType as prefix for each Assertion in AssertionGroup.assertions.

assertionFormatterController - The controller used to steer the flow of the reporting.

objectFormatter - The formatter which is used to format objects other than Assertions.

translator - The translator which is used to translate Translatable such as DescriptiveAssertion.description.

Return
The newly created assertion formatter.