Class CucumberSerenityRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>
io.cucumber.junit.CucumberSerenityBaseRunner
io.cucumber.junit.CucumberSerenityRunner
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
- Direct Known Subclasses:
CucumberWithSerenity
Glue code for running Cucumber via Serenity.
Sets up Serenity reporting and instrumentation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.cucumber.core.runtime.RuntimecreateSerenityEnabledRuntime(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions, net.thucydides.model.webdriver.Configuration systemConfiguration) Methods inherited from class io.cucumber.junit.CucumberSerenityBaseRunner
addPlugin, addPluginIfNotInList, childrenInvoker, createFeatureRunners, createJUnitOptions, createRuntimeOptions, currentRuntimeOptions, describeChild, environmentSpecifiedTags, getChildren, getEventBus, getFeatures, initializeBus, initializeServices, initiateContext, initiatePluginsList, parseFeaturesEarly, runChild, setRuntimeOptions, setSchedulerMethods inherited from class org.junit.runners.ParentRunner
classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, order, run, runLeaf, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationMethods inherited from class org.junit.runner.Runner
testCount
-
Constructor Details
-
CucumberSerenityRunner
Constructor called by JUnit.- Parameters:
clazz- the class with the @RunWith annotation.- Throws:
org.junit.runners.model.InitializationError- if there is another problem
-
-
Method Details
-
createSerenityEnabledRuntime
public static io.cucumber.core.runtime.Runtime createSerenityEnabledRuntime(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions, net.thucydides.model.webdriver.Configuration systemConfiguration)
-