public class CucumberSerenityRunner
extends org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>
| 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 cucumber.runtime.Runtime |
createSerenityEnabledRuntime(cucumber.runtime.io.ResourceLoader resourceLoader,
java.lang.ClassLoader classLoader,
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(io.cucumber.junit.FeatureRunner child) |
java.util.List<io.cucumber.junit.FeatureRunner> |
getChildren() |
protected void |
runChild(io.cucumber.junit.FeatureRunner child,
org.junit.runner.notification.RunNotifier notifier) |
static void |
setRuntimeOptions(io.cucumber.core.options.RuntimeOptions runtimeOptions) |
void |
setScheduler(org.junit.runners.model.RunnerScheduler scheduler) |
public 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 cucumber.runtime.Runtime createSerenityEnabledRuntime(cucumber.runtime.io.ResourceLoader resourceLoader,
java.lang.ClassLoader classLoader,
io.cucumber.core.options.RuntimeOptions runtimeOptions,
net.thucydides.core.webdriver.Configuration systemConfiguration)
protected org.junit.runner.Description describeChild(io.cucumber.junit.FeatureRunner child)
describeChild in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>protected void runChild(io.cucumber.junit.FeatureRunner child,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
childrenInvoker in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>public void setScheduler(org.junit.runners.model.RunnerScheduler scheduler)
setScheduler in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>public java.util.List<io.cucumber.junit.FeatureRunner> getChildren()
getChildren in class org.junit.runners.ParentRunner<io.cucumber.junit.FeatureRunner>