strikt-gradle / strikt.gradle.testkit / strikt.api.Assertion.Builder / tasks

tasks

val <T : BuildResult> Builder<T>.tasks: Builder<List<BuildTask>>

Maps this assertion to an assertion on all tasks that were part of the build.

See Also

BuildResult.getTasks

infix fun <T : BuildResult> Builder<T>.tasks(outcome: TaskOutcome): Builder<List<BuildTask>>

Maps this assertion to the tasks of the build with the provided outcome.

See Also

BuildResult

TaskOutcome