Class 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.CucumberSerenityRunner
    When 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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.cucumber.core.runtime.Runtime createSerenityEnabledRuntime​(Supplier<ClassLoader> classLoaderSupplier, io.cucumber.core.options.RuntimeOptions runtimeOptions, net.thucydides.core.webdriver.Configuration systemConfiguration)  
      static void main​(String[] argv)  
      static byte run​(String[] argv, Supplier<ClassLoader> classLoaderSupplier)  
      static io.cucumber.core.runtime.Runtime using​(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
      • Methods inherited from class org.junit.runner.Runner

        testCount
    • 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)
      • 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)