open fun afterTest(closure: Closure<Any>): Unit
Adds a closure to be notified after a test has executed. A TestDescriptor and TestResult instance are passed to the closure as a parameter.
closure - The closure to call.
closure