doc / ch.tutteli.atrium.reporting / ObjectFormatter

ObjectFormatter

interface ObjectFormatter (source)

Represents a formatter for objects.

Typically it formats the subject of the formulated expectation including the expected values.

Functions

format

abstract fun format(value: Any?): String

Returns a formatted version of the given value.

Inheritors

TextObjectFormatter

interface TextObjectFormatter : ObjectFormatter

Marker interface for ObjectFormatter which are intended for text output, e.g. for terminal output.