kotest-core / io.kotest.core.engine / SpecRunner / createInstance

createInstance

protected fun createInstance(kclass: KClass<out Spec>): Try<Spec>

Creates an instance of the supplied Spec by delegating to the project constructors, and notifies the TestEngineListener of the instantiation event.