runEnabledTests

fun runEnabledTests(myObj: Any)

Runs all annotated tests in a supplied object.

Example usage:

@EnabledTest
fun testTests() {
...
}
...
runEnabledTests(this) // will include executing testTests

Parameters

myObj

object in which to search for annotated tests