class ContextScope
TestBuilder |
inner class TestBuilder |
<init> |
ContextScope(description: Description, context: TestContext, spec: FunSpecDsl) |
afterTest |
fun afterTest(f: AfterTest): Unit |
beforeTest |
fun beforeTest(f: BeforeTest): Unit |
context |
Adds a nested context scope to the spec. suspend fun context(name: String, init: suspend ContextScope.() -> Unit): Unit |
test |
fun test(name: String): TestBuildersuspend fun test(name: String, test: suspend TestContext.() -> Unit): Unit |