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
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.ThrowableDeprecated.- Throws:
java.lang.Throwable
-
run
public static byte run(java.lang.String[] argv, java.util.function.Supplier<java.lang.ClassLoader> classLoaderSupplier) throws java.io.IOExceptionDeprecated.Launches the Cucumber-JVM command line- Parameters:
argv- runtime options. See details in thecucumber.api.cli.Usage.txtresourceclassLoaderSupplier- 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
-