List gradle test execution order

oz, 2018-08-17
tasks.matching {it instanceof Test}.all {
    testLogging.events = ["failed", "passed", "skipped"]
}

Useful for finding tests that do not clean up properly!