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

ScenarioBuilder

class ScenarioBuilder

Constructors

<init>

ScenarioBuilder(name: String, context: TestContext, dsl: SpecDsl)

Properties

context

val context: TestContext

dsl

val dsl: SpecDsl

name

val name: String

Functions

config

suspend fun config(enabled: Boolean? = null, invocations: Int? = null, threads: Int? = null, tags: Set<Tag>? = null, timeout: Duration? = null, extensions: List<TestCaseExtension>? = null, enabledIf: EnabledIf? = null, test: suspend TestContext.() -> Unit): Unit