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

FeatureScope

class FeatureScope

Constructors

<init>

FeatureScope(context: TestContext, dsl: SpecDsl)

Properties

context

val context: TestContext

Functions

and

suspend fun and(name: String, init: suspend FeatureScope.() -> Unit): Unit

feature

suspend fun feature(name: String, init: suspend FeatureScope.() -> Unit): Unit

scenario

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