public class SingleInstanceSpecRunner
extends SpecRunner
Implementation of class 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 SpecRunner| Modifier and Type | Class and Description |
|---|---|
class |
SingleInstanceSpecRunner.Context |
| Constructor and Description |
|---|
SingleInstanceSpecRunner(TestEngineListener listener,
java.util.concurrent.ExecutorService listenerExecutor,
java.util.concurrent.ScheduledExecutorService scheduler)
Implementation of
class 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. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<io.kotlintest.TestCase,io.kotlintest.TestResult> |
execute(io.kotlintest.Spec spec,
io.kotlintest.extensions.TopLevelTests topLevelTests) |
execute, getListener, interceptSpecpublic SingleInstanceSpecRunner(TestEngineListener listener, java.util.concurrent.ExecutorService listenerExecutor, java.util.concurrent.ScheduledExecutorService scheduler)
Implementation of class 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 SpecRunner