doc / ch.tutteli.atrium.reporting / Reporter

Reporter

interface Reporter (source)

Represents a reporter which reports about Assertions.

Functions

format

abstract fun format(assertion: Assertion, sb: StringBuilder): Unit

Reports about the given assertion, using the given sb where the actual implementation will decide whether the given assertion is noteworthy to be reported.

Inheritors

OnlyFailureReporter

class OnlyFailureReporter : Reporter

A Reporter which reports only failing assertions.