Class CucumberWithSerenityRuntimeMain

java.lang.Object
net.serenitybdd.cucumber.integration.intellij.CucumberWithSerenityRuntimeMain

@Deprecated public class CucumberWithSerenityRuntimeMain extends Object
Deprecated.
A test runner that allows you to run feature files directly from IntelliJ. This avoids having to write specific runners for each feature file. Contributed by Vladimir Ivanov Deprecated: Replaced with cucumber.runtime.cli.Main
  • Constructor Details

    • CucumberWithSerenityRuntimeMain

      public CucumberWithSerenityRuntimeMain()
      Deprecated.
  • Method Details

    • main

      public static void main(String[] argv) throws Throwable
      Deprecated.
      Throws:
      Throwable
    • run

      public static byte run(String[] argv, Supplier<ClassLoader> classLoaderSupplier) throws IOException
      Deprecated.
      Launches the Cucumber-JVM command line
      Parameters:
      argv - runtime options. See details in the cucumber.api.cli.Usage.txt resource
      classLoaderSupplier - classloader used to load the runtime
      Returns:
      0 if execution was successful, 1 if not (there were test failures)
      Throws:
      IOException - if resources couldn't be loaded during execution