kotest-core / io.kotest.core.spec.style / FunSpecDsl / ContextScope

ContextScope

class ContextScope

Types

TestBuilder

inner class TestBuilder

Constructors

<init>

ContextScope(context: TestContext, spec: FunSpecDsl)

Functions

context

suspend fun context(name: String, init: suspend ContextScope.() -> Unit): Unit

test

fun test(name: String): TestBuilder
suspend fun test(name: String, test: suspend TestContext.() -> Unit): Unit