public class CucumberWithSerenity
extends org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>
| Constructor and Description |
|---|
CucumberWithSerenity(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,
cucumber.runtime.RuntimeOptions runtimeOptions,
net.thucydides.core.webdriver.Configuration systemConfiguration) |
static cucumber.runtime.RuntimeOptions |
currentRuntimeOptions() |
protected org.junit.runner.Description |
describeChild(cucumber.runtime.junit.FeatureRunner child) |
java.util.List<cucumber.runtime.junit.FeatureRunner> |
getChildren() |
protected void |
runChild(cucumber.runtime.junit.FeatureRunner child,
org.junit.runner.notification.RunNotifier notifier) |
static void |
setRuntimeOptions(cucumber.runtime.RuntimeOptions runtimeOptions) |
classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassespublic CucumberWithSerenity(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(cucumber.runtime.RuntimeOptions runtimeOptions)
public static cucumber.runtime.RuntimeOptions currentRuntimeOptions()
public static cucumber.runtime.Runtime createSerenityEnabledRuntime(cucumber.runtime.io.ResourceLoader resourceLoader,
java.lang.ClassLoader classLoader,
cucumber.runtime.RuntimeOptions runtimeOptions,
net.thucydides.core.webdriver.Configuration systemConfiguration)
protected org.junit.runner.Description describeChild(cucumber.runtime.junit.FeatureRunner child)
describeChild in class org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>protected void runChild(cucumber.runtime.junit.FeatureRunner child,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
childrenInvoker in class org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>public java.util.List<cucumber.runtime.junit.FeatureRunner> getChildren()
getChildren in class org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>