kotest-core / io.kotest.core.spec / TestConfiguration / afterTest

afterTest

abstract fun afterTest(f: AfterTest): Unit

Registers a new after-test callback to be executed after every TestCase. The callback provides two parameters - the test case that has just completed, and the TestResult outcome of that test.