kotest-core / io.kotest.core.engine / SingleInstanceSpecRunner / Context

Context

inner class Context : TestContext

Constructors

<init>

Context(testCase: TestCase, coroutineContext: CoroutineContext)

Properties

coroutineContext

val coroutineContext: CoroutineContext

testCase

The currently executing TestCase.

val testCase: TestCase

Functions

registerTestCase

Notifies the test runner about a test in a nested scope.

suspend fun registerTestCase(nested: NestedTest): Unit