Package de.gematik.test.tiger
Class TigerCucumberRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.ParentRunner<?>>
-
- io.cucumber.junit.CucumberSerenityRunner
-
- de.gematik.test.tiger.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 io.cucumber.junit.CucumberSerenityRunnerWhen started via Intellij the main method is run. When started via maven the constructor gets called for each driver class. Later must have the TigerCucumberListener registered as plugin in the cucumberoptions When using the tiger maven plugin this is taken care of automgically! First one sets it in the code explicitely.
-
-
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.RuntimecreateSerenityEnabledRuntime(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.CucumberSerenityRunner
childrenInvoker, currentRuntimeOptions, describeChild, getChildren, 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)
-
createSerenityEnabledRuntime
public static io.cucumber.core.runtime.Runtime createSerenityEnabledRuntime(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions, net.thucydides.core.webdriver.Configuration systemConfiguration)
-
-