interface StringSpecDsl : SpecDsl
Defines the DSL for creating tests in the 'StringSpec' style.
Example:
"my test" { 1 + 1 shouldBe 2 }
config |
open 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 |
Adds a String Spec test using the default test case config. open operator fun String.invoke(test: suspend TestContext.() -> Unit): Unit |
StringSpec |
abstract class StringSpec : DslDrivenSpec, StringSpecDsl |
StringSpecTestFactoryConfiguration |
Decorates a TestFactoryConfiguration with the StringSpec DSL. class StringSpecTestFactoryConfiguration : TestFactoryConfiguration, StringSpecDsl |