doc / ch.tutteli.atrium.spec.reporting / ToStringObjectFormatter / format

format

fun format(value: Any?): String

Overrides ObjectFormatter.format

Returns a formatted version of the given value.

Following the minimum requirements for an ObjectFormatter:

Besides that it is up to the concrete implementation how it formats value. Nonetheless, following some conventions:

Parameters

value - The value which shall be formatted.

Return
The formatted value.