output
fun Expect<BuildResult>.output(assertionCreator: Expect<String>.() -> Unit): Expect<BuildResult>
Content copied to clipboard
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.
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.