doc / ch.tutteli.atrium / IAtriumFactory / newTextFeatureAssertionGroupFormatter

newTextFeatureAssertionGroupFormatter

abstract fun newTextFeatureAssertionGroupFormatter(bulletPoints: Map<Class<out IBulletPointIdentifier>, String>, assertionFormatterController: IAssertionFormatterController, objectFormatter: IObjectFormatter, translator: ITranslator): IAssertionFormatter

Creates an IAssertionFormatter which is intended for text output (e.g. for the console) and formats IAssertionGroups of type IFeatureAssertionGroupType.

Parameters

bulletPoints - The bullet points used in reporting; will typically use the bullet point registered for PrefixFeatureAssertionGroupHeader as prefix of the group header and IFeatureAssertionGroupType as prefix for each IAssertion in IAssertionGroup.assertions. assertionFormatterController - The controller used to steer the flow of the reporting. objectFormatter - The formatter which is used to format objects other than IAssertions. translator - The translator which is used to translate ITranslatable such as IBasicAssertion.description.

Return
The newly created assertion formatter.