public class CucumberSerenityBaseRunner
extends org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>
| Constructor and Description |
|---|
CucumberSerenityBaseRunner(Class clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPlugin(io.cucumber.plugin.Plugin plugin) |
protected boolean |
addPluginIfNotInList(io.cucumber.plugin.Plugin plugin,
Class<?> clazz) |
protected org.junit.runners.model.Statement |
childrenInvoker(org.junit.runner.notification.RunNotifier notifier) |
protected void |
createFeatureRunners(List<io.cucumber.core.gherkin.Feature> features,
io.cucumber.core.options.RuntimeOptions runtimeOptions,
io.cucumber.junit.JUnitOptions junitOptions) |
protected io.cucumber.junit.JUnitOptions |
createJUnitOptions(Class<?> clazz) |
protected io.cucumber.core.options.RuntimeOptions |
createRuntimeOptions(Class<?> clazz) |
static io.cucumber.core.options.RuntimeOptions |
currentRuntimeOptions() |
protected org.junit.runner.Description |
describeChild(org.junit.runners.ParentRunner<?> child) |
protected static Collection<String> |
environmentSpecifiedTags(List<?> existingTags) |
List<org.junit.runners.ParentRunner<?>> |
getChildren() |
protected io.cucumber.core.eventbus.EventBus |
getEventBus() |
protected List<io.cucumber.core.gherkin.Feature> |
getFeatures() |
protected void |
initializeBus() |
protected io.cucumber.core.runtime.ThreadLocalRunnerSupplier |
initializeServices(Class<?> clazz,
io.cucumber.core.options.RuntimeOptions runtimeOptions) |
protected void |
initiateContext(io.cucumber.core.runtime.ExitStatus exitStatus,
io.cucumber.core.runtime.ThreadLocalRunnerSupplier runnerSupplier) |
protected void |
initiatePluginsList(io.cucumber.core.options.RuntimeOptions runtimeOptions) |
protected void |
parseFeaturesEarly() |
protected void |
runChild(org.junit.runners.ParentRunner<?> child,
org.junit.runner.notification.RunNotifier notifier) |
static void |
setRuntimeOptions(io.cucumber.core.options.RuntimeOptions runtimeOptions) |
void |
setScheduler(org.junit.runners.model.RunnerScheduler scheduler) |
classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, order, run, runLeaf, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationpublic CucumberSerenityBaseRunner(Class clazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected io.cucumber.core.eventbus.EventBus getEventBus()
protected List<io.cucumber.core.gherkin.Feature> getFeatures()
protected void initiatePluginsList(io.cucumber.core.options.RuntimeOptions runtimeOptions)
protected void addPlugin(io.cucumber.plugin.Plugin plugin)
protected boolean addPluginIfNotInList(io.cucumber.plugin.Plugin plugin,
Class<?> clazz)
protected void initiateContext(io.cucumber.core.runtime.ExitStatus exitStatus,
io.cucumber.core.runtime.ThreadLocalRunnerSupplier runnerSupplier)
protected io.cucumber.core.options.RuntimeOptions createRuntimeOptions(Class<?> clazz)
protected void initializeBus()
protected io.cucumber.junit.JUnitOptions createJUnitOptions(Class<?> clazz)
protected static Collection<String> environmentSpecifiedTags(List<?> existingTags)
public static void setRuntimeOptions(io.cucumber.core.options.RuntimeOptions runtimeOptions)
public static io.cucumber.core.options.RuntimeOptions currentRuntimeOptions()
protected void parseFeaturesEarly()
protected io.cucumber.core.runtime.ThreadLocalRunnerSupplier initializeServices(Class<?> clazz, io.cucumber.core.options.RuntimeOptions runtimeOptions)
protected void createFeatureRunners(List<io.cucumber.core.gherkin.Feature> features, io.cucumber.core.options.RuntimeOptions runtimeOptions, io.cucumber.junit.JUnitOptions junitOptions)
public List<org.junit.runners.ParentRunner<?>> getChildren()
getChildren in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>protected org.junit.runner.Description describeChild(org.junit.runners.ParentRunner<?> child)
describeChild in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>protected void runChild(org.junit.runners.ParentRunner<?> child,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
childrenInvoker in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>public void setScheduler(org.junit.runners.model.RunnerScheduler scheduler)
setScheduler in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>Copyright © 2023. All rights reserved.