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

featureSpec

fun featureSpec(block: FeatureSpecTestFactoryConfiguration.() -> Unit): TestFactory

Creates a TestFactory from the given block.

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