#parse("/array.java.vm")
#if ($packageName)
package $packageName;
#end##
import org.junit.runner.RunWith;
import io.cucumber.junit.CucumberOptions;
import net.serenitybdd.cucumber.CucumberWithSerenity;
@RunWith(CucumberWithSerenity.class)
@CucumberOptions(
strict = $strict,
features = {"$featureFile"},
plugin = #stringArray($plugins),
monochrome = $monochrome,
#if(!$featureFile.contains(".feature:") && $tags)
tags = #stringArray($tags),
#end
glue = #stringArray($glue))
public class $className {
}
How to pass tags without curly braces in this custom runner for cucumber 6.0??
@CucumberOptions(features = "src/test/resources/features",
tags = "@unknown", snippets = SnippetType.CAMELCASE, monochrome = true, strict = true,
plugin = {"json:target/cucumber-report-html/cucumber.json"})
public class RunnerTest {
}
#parse("/array.java.vm")
#if ($packageName)
package $packageName;
#end##
import org.junit.runner.RunWith;
import io.cucumber.junit.CucumberOptions;
import net.serenitybdd.cucumber.CucumberWithSerenity;
@RunWith(CucumberWithSerenity.class)
@CucumberOptions(
strict = $strict,
features = {"$featureFile"},
plugin = #stringArray($plugins),
monochrome = $monochrome,
#if(!$featureFile.contains(".feature:") && $tags)
tags = #stringArray($tags),
#end
glue = #stringArray($glue))
public class $className {
}
How to pass tags without curly braces in this custom runner for cucumber 6.0??
@CucumberOptions(features = "src/test/resources/features",
tags = "@unknown", snippets = SnippetType.CAMELCASE, monochrome = true, strict = true,
plugin = {"json:target/cucumber-report-html/cucumber.json"})
public class RunnerTest {
}