Class Main

    • Constructor Detail

      • Main

        public Main()
    • Method Detail

      • main

        public static void main​(String... argv)
      • run

        public static byte run​(String... argv)
        Launches the Cucumber-JVM command line.
        Parameters:
        argv - runtime options. See details in the cucumber.api.cli.Usage.txt resource.
        Returns:
        0 if execution was successful, 1 if it was not (test failures)
      • run

        public static byte run​(String[] argv,
                               ClassLoader classLoader)
        Launches the Cucumber-JVM command line.
        Parameters:
        argv - runtime options. See details in the cucumber.api.cli.Usage.txt resource.
        classLoader - classloader used to load the runtime
        Returns:
        0 if execution was successful, 1 if it was not (test failures)