kotest-core / io.kotest.core.test / TestContext / registerTestCase

registerTestCase

suspend fun registerTestCase(name: String, test: suspend TestContext.() -> Unit, config: TestCaseConfig, type: TestType): Unit

Creates a NestedTest and then registers with the TestContext.

abstract suspend fun registerTestCase(nested: NestedTest): Unit

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