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

format

fun format(value: Any?): String

Overrides IObjectFormatter.format

Returns a formatted version of the given value.

Following the minimum requirements for an IObjectFormatter:

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.