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

context

open fun context(name: String, init: suspend ContextScope.() -> Unit): Unit

Adds a top level context scope to the spec.