failed

fun Expect<BuildTask?>.failed(): Expect<BuildTask>

Expects that the subject of the assertion (a Gradle task) was invoked and that its outcome was FAILED.

Return

An Expect with the non-nullable type BuildTask (was BuildTask? before).

Sources

(source)
Link copied to clipboard