All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ousell.cucumber2junit-maven-plugin.1.5.2.source-code.cucumberMain.vm Maven / Gradle / Ivy

Go to download

Generates plain JUnit tests from Gherkin feature files. This is useful when you want to execute Cucumber tests in an environment which does not allow custom JUnit runners, e.g. the AWS Device Farm.

The newest version!
package $packageName;

import cucumber.api.cli.Main;

public class CucumberMain extends Main {

  public static byte runFeatures(String[] argv) throws Throwable {
    return run(argv, Thread.currentThread().getContextClassLoader());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy