wasSkipped

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

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

Return

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

Sources

(source)
Link copied to clipboard