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

ExpectScope

class ExpectScope

Constructors

<init>

ExpectScope(context: TestContext, dsl: ExpectSpecDsl)

Properties

context

val context: TestContext

Functions

context

suspend fun context(name: String, test: suspend ExpectScope.() -> Unit): Unit

expect

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