output

fun Expect<BuildResult>.output(assertionCreator: Expect<String>.() -> Unit): Expect<BuildResult>

Adds all assertions created by assertionCreator to the Expect for the for the output of the subject of this assertion (a BuildResult).

Return

An Expect for the current subject of the assertion.

Throws

If assertionCreator creates no assertions or throws an AssertionError itself.

val Expect<BuildResult>.output: Expect<String>

Creates an Expect for the output of the subject of this assertion.

Return

The newly created Expect for the output of the this assertion’s BuildResult.