Class CucumberWithSerenityRuntimeMain

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

@Deprecated
public class CucumberWithSerenityRuntimeMain
extends java.lang.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 Summary

    Constructors 
    Constructor Description
    CucumberWithSerenityRuntimeMain()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] argv)
    Deprecated.
     
    static byte run​(java.lang.String[] argv, java.util.function.Supplier<java.lang.ClassLoader> classLoaderSupplier)
    Deprecated.
    Launches the Cucumber-JVM command line

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CucumberWithSerenityRuntimeMain

      public CucumberWithSerenityRuntimeMain()
      Deprecated.
  • Method Details

    • main

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

      public static byte run​(java.lang.String[] argv, java.util.function.Supplier<java.lang.ClassLoader> classLoaderSupplier) throws java.io.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:
      java.io.IOException - if resources couldn't be loaded during execution