InstancePerLeafSpecRunner |
class InstancePerLeafSpecRunner : SpecRunner |
InstancePerTestSpecRunner |
Implementation of SpecRunner that executes each TestCase in a fresh instance of the Spec class. class InstancePerTestSpecRunner : SpecRunner |
IsolationTestEngineListener |
class IsolationTestEngineListener : TestEngineListener |
KotestEngine |
class KotestEngine |
SingleInstanceSpecRunner |
Implementation of SpecRunner that executes all tests against the same Spec instance. In other words, only a single instance of the spec class is instantiated for all the test cases. class SingleInstanceSpecRunner : SpecRunner |
SpecExecutor |
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. class SpecExecutor |
SpecRunner |
The base class for executing all the tests inside a Spec. abstract class SpecRunner |
SynchronizedTestEngineListener |
class SynchronizedTestEngineListener : TestEngineListener |
TestEngineListener |
Implementations of this interface will be notified of events that occur as part of the KotestEngine lifecycle. interface TestEngineListener |
instantiateSpec |
Creates an instance of a Spec by delegating to constructor extensions, with a fallback to a reflection based zero-args constructor. fun <T : Spec> instantiateSpec(clazz: KClass<T>): Try<Spec> |
javaReflectNewInstance |
fun <T : Spec> javaReflectNewInstance(clazz: KClass<T>): Spec |