kotest-core / io.kotest.core.listeners / TestListener / afterTest

afterTest

open suspend fun afterTest(testCase: TestCase, result: TestResult): Unit

This callback is invoked after a TestCase has finished.

If a test case was skipped (ignored / disabled / inactive) then this callback will not be invoked for that particular test case.

Parameters

testCase - the TestCase that has completed.