kotest-core / io.kotest.core.engine / SpecExecutor / <init>

<init>

SpecExecutor(listener: TestEngineListener)

Handles the execution of a single Spec class. Delegates to a SpecRunner which determines how and when to instantiate fresh specs based on the IsolationMode of the spec.

Parameters

listener - a listener that is notified of events in the spec lifecycle