class WhenContext
<init> |
WhenContext(description: Description, context: TestContext, spec: BehaviorSpecDsl) |
afterTest |
fun afterTest(f: AfterTest): Unit |
And |
suspend fun And(name: String, test: suspend WhenAndContext.() -> Unit): Unit |
and |
suspend fun and(name: String, test: suspend WhenAndContext.() -> Unit): Unit |
beforeTest |
fun beforeTest(f: BeforeTest): Unit |
Then |
suspend fun Then(name: String, test: suspend ThenContext.() -> Unit): Unit |
then |
suspend fun then(name: String, test: suspend ThenContext.() -> Unit): Unitfun then(name: String): TestScope |