kotest-core / io.kotest.core.spec.style / WordSpecDsl / WordScope

WordScope

class WordScope

Constructors

<init>

WordScope(context: TestContext, dsl: WordSpecDsl)

Functions

config

suspend fun String.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

invoke

suspend infix operator fun String.invoke(test: suspend FinalTestContext.() -> Unit): Unit

should

infix fun String.should(init: () -> Unit): Unit