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

describeSpec

fun describeSpec(block: DescribeSpecTestFactoryConfiguration.() -> Unit): TestFactory

Creates a TestFactory from the given block.

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