public class CucumberSerenityRunner
extends org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>
| Constructor and Description |
|---|
CucumberSerenityRunner(java.lang.Class clazz)
Constructor called by JUnit.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
childrenInvoker(org.junit.runner.notification.RunNotifier notifier) |
static io.cucumber.core.runtime.Runtime |
createSerenityEnabledRuntime(java.util.function.Supplier<java.lang.ClassLoader> classLoaderSupplier,
io.cucumber.core.options.RuntimeOptions runtimeOptions,
net.thucydides.core.webdriver.Configuration systemConfiguration) |
static io.cucumber.core.options.RuntimeOptions |
currentRuntimeOptions() |
protected org.junit.runner.Description |
describeChild(org.junit.runners.ParentRunner<?> child) |
java.util.List<org.junit.runners.ParentRunner<?>> |
getChildren() |
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 CucumberSerenityRunner(java.lang.Class clazz)
throws org.junit.runners.model.InitializationError
clazz - the class with the @RunWith annotation.org.junit.runners.model.InitializationError - if there is another problempublic static void setRuntimeOptions(io.cucumber.core.options.RuntimeOptions runtimeOptions)
public static io.cucumber.core.options.RuntimeOptions currentRuntimeOptions()
public static io.cucumber.core.runtime.Runtime createSerenityEnabledRuntime(java.util.function.Supplier<java.lang.ClassLoader> classLoaderSupplier,
io.cucumber.core.options.RuntimeOptions runtimeOptions,
net.thucydides.core.webdriver.Configuration systemConfiguration)
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<?>>public java.util.List<org.junit.runners.ParentRunner<?>> getChildren()
getChildren in class org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>