kotest-core / io.kotest.core.spec.style / FunSpecDsl / test

test

open fun test(name: String): TestBuilder open fun test(name: String, test: suspend TestContext.() -> Unit): Unit

Adds a new root test case, with the given name and test function, using the default test case config for this builder.