I tried to use this formater in a java runner like this:
public class Run {
public static void main(String[] args) throws Throwable {
final String[] cucumberArgs = {
"-g",
"com.cucumber.steps",
"-p",
"pretty",
"-p",
"html:target/cucumber",
"-p",
"com.cucumber.listener.ExtentCucumberFormatter:",
"classpath:com/cucumber/features",
"--tags",
"@TestNewfunction"
};
Main.main(cucumberArgs);
}
}
The run is not starting at all. Can you help me please.
NB: At the end, I would use it like this in a command line:
"%JAVA_HOME%\bin\java" -jar "%NAME_JAR%" --glue com.cucumber.steps --monochrome --plugin com.cucumber.listener.ExtentCucumberFormatter: --tags @TestNewfunction %FeatureFolder%
Hi,
I tried to use this formater in a java runner like this: public class Run { public static void main(String[] args) throws Throwable { final String[] cucumberArgs = { "-g", "com.cucumber.steps", "-p", "pretty", "-p", "html:target/cucumber", "-p", "com.cucumber.listener.ExtentCucumberFormatter:", "classpath:com/cucumber/features", "--tags", "@TestNewfunction" }; Main.main(cucumberArgs); } }
The run is not starting at all. Can you help me please. NB: At the end, I would use it like this in a command line: "%JAVA_HOME%\bin\java" -jar "%NAME_JAR%" --glue com.cucumber.steps --monochrome --plugin com.cucumber.listener.ExtentCucumberFormatter: --tags @TestNewfunction %FeatureFolder%