kotest-core / io.kotest.core.spec.style / WordSpecDsl / FinalTestContext

FinalTestContext

class FinalTestContext : TestContext

Constructors

<init>

FinalTestContext(context: TestContext)

Properties

context

val context: TestContext

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

should

infix fun String.should(init: () -> Unit): () -> Unit