kotest-core / io.kotest.core.spec.style / WhenAndContext

WhenAndContext

class WhenAndContext

Constructors

<init>

WhenAndContext(context: TestContext, dsl: BehaviorSpecDsl)

Properties

context

val context: TestContext

Functions

And

suspend fun And(name: String, test: suspend WhenAndContext.() -> Unit): Unit

and

suspend fun and(name: String, test: suspend WhenAndContext.() -> Unit): Unit

Then

suspend fun Then(name: String, test: suspend ThenContext.() -> Unit): Unit

then

suspend fun then(name: String, test: suspend ThenContext.() -> Unit): Unit
fun then(name: String): TestScope