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

stringSpec

fun stringSpec(block: StringSpecTestFactoryConfiguration.() -> Unit): TestFactory

Creates a TestFactory from the given block.

The receiver of the block is a StringSpecTestFactoryConfiguration which allows tests to be defined using the 'string-spec' style.