appendOutput

abstract fun appendOutput(output: String, location: Location = definedExternally, test: TestItem = definedExternally)(source)

Appends raw output from the test runner. On the user's request, the output will be displayed in a terminal. ANSI escape sequences, such as colors and text styles, are supported. New lines must be given as CRLF (\r\n) rather than LF (\n).

Parameters

output

Output text to append.

location

Indicate that the output was logged at the given location.

test

Test item to associate the output with.

Online Documentation