public class CucumberExecutor
extends org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>
| Constructor and Description |
|---|
CucumberExecutor() |
CucumberExecutor(Class<?> clazz)
Constructor called by JUnit.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
common(List<String> strings) |
static String |
common(String a,
String b) |
protected cucumber.runtime.Runtime |
createRuntime(cucumber.runtime.io.ResourceLoader resourceLoader,
ClassLoader classLoader,
cucumber.runtime.RuntimeOptions runtimeOptions)
Create the Runtime.
|
protected org.junit.runner.Description |
describeChild(cucumber.runtime.junit.FeatureRunner child) |
String |
features() |
List<cucumber.runtime.junit.FeatureRunner> |
getChildren() |
List<String> |
glue() |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(cucumber.runtime.junit.FeatureRunner child,
org.junit.runner.notification.RunNotifier notifier) |
String |
tags() |
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassespublic CucumberExecutor(Class<?> clazz) throws org.junit.runners.model.InitializationError, IOException
clazz - the class with the @RunWith annotation.IOException - if there is a problemorg.junit.runners.model.InitializationError - if there is another problempublic CucumberExecutor()
throws org.junit.runners.model.InitializationError,
IOException
org.junit.runners.model.InitializationErrorIOExceptionprotected cucumber.runtime.Runtime createRuntime(cucumber.runtime.io.ResourceLoader resourceLoader,
ClassLoader classLoader,
cucumber.runtime.RuntimeOptions runtimeOptions)
throws org.junit.runners.model.InitializationError,
IOException
resourceLoader - used to load resourcesclassLoader - used to load classesruntimeOptions - configurationorg.junit.runners.model.InitializationError - if a JUnit error occurredIOException - if a class or resource could not be loadedpublic List<cucumber.runtime.junit.FeatureRunner> getChildren()
getChildren in class org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>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>public void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<cucumber.runtime.junit.FeatureRunner>public String tags()
public String features()
Copyright © 2019 Automation RockStars. All rights reserved.