kotest-core / io.kotest.core.spec.style / BehaviorSpecDsl / TestScope

TestScope

class TestScope

Constructors

<init>

TestScope(name: String, context: TestContext, dsl: BehaviorSpecDsl)

Properties

context

val context: TestContext

dsl

val dsl: BehaviorSpecDsl

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