assertk / assertAll

assertAll

fun assertAll(f: () -> Unit): Unit

Platform and version requirements: Common

Runs all assertions in the given lambda and reports any failures.