Class TigerCucumberRunner

java.lang.Object
io.cucumber.junit.TigerCucumberRunner

public class TigerCucumberRunner extends Object
Runner used to start the tests via IntelliJ. Since Tiger version 3.3.0 we no longer support JUnit 4.

Starting the tests over maven or over a driver class do not require any runner, since the JUnit Platform api ensures the "cucumber" engine is used.

In this class we read the options passed over the Intellij run configuration and start the tests via the org.junit.platform.launcher.Launcher;

Important is that we register the TigerSerenityReporterPlugin and then Tiger will start together with the cucumber engine.

  • Constructor Details

    • TigerCucumberRunner

      public TigerCucumberRunner()
  • Method Details

    • main

      public static void main(String[] args)
    • discoverAndRunTests

      public static void discoverAndRunTests(org.junit.platform.launcher.LauncherDiscoveryRequest request, org.junit.platform.launcher.TestExecutionListener... listeners)