kotest-core / io.kotest.core.spec.style / ShouldScope / Testbuilder

Testbuilder

inner class Testbuilder

Constructors

<init>

Testbuilder(register: suspend (suspend TestContext.() -> Unit, TestCaseConfig) -> Unit)

Properties

register

val register: suspend (suspend TestContext.() -> Unit, TestCaseConfig) -> Unit

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