Package io.cucumber.junit
Class TigerCucumberRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>
-
- io.cucumber.junit.CucumberSerenityBaseRunner
-
- io.cucumber.junit.TigerCucumberRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
public class TigerCucumberRunner extends CucumberSerenityBaseRunner
When started via Intellij the main method is run. When started via maven the constructor gets called for each driver class.
-
-
Field Summary
-
Fields inherited from class io.cucumber.junit.CucumberSerenityBaseRunner
bus, context, features, multiThreadingAssumed, plugins
-
-
Constructor Summary
Constructors Constructor Description TigerCucumberRunner(Class clazz)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.cucumber.core.runtime.RuntimecreateTigerSerenityEnabledRuntime(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions, net.thucydides.core.webdriver.Configuration systemConfiguration)static voidmain(String[] argv)static byterun(String[] argv, Supplier<ClassLoader> classLoaderSupplier)static io.cucumber.core.runtime.Runtimeusing(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions)-
Methods inherited from class io.cucumber.junit.CucumberSerenityBaseRunner
childrenInvoker, createFeatureRunners, createJUnitOptions, createRuntimeOptions, currentRuntimeOptions, describeChild, environmentSpecifiedTags, getChildren, initializeBus, initializeServices, parseFeaturesEarly, runChild, setRuntimeOptions, setScheduler
-
Methods inherited from class org.junit.runners.ParentRunner
classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, order, run, runLeaf, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
-
-
-
Constructor Detail
-
TigerCucumberRunner
public TigerCucumberRunner(Class clazz) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
main
public static void main(String[] argv)
-
run
public static byte run(String[] argv, Supplier<ClassLoader> classLoaderSupplier)
-
using
public static io.cucumber.core.runtime.Runtime using(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions)
-
createTigerSerenityEnabledRuntime
public static io.cucumber.core.runtime.Runtime createTigerSerenityEnabledRuntime(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions, net.thucydides.core.webdriver.Configuration systemConfiguration)
-
-