@CucumberOptions(features = { "src/test/resources" }, monochrome = true,
tags= {"@TestCases"}, glue = { "glue" }, plugin = {
"json:target/cucumber.json" })
public class CucumberRunnerTest extends AbstractTestNGCucumberTests
{
private TestNGCucumberRunner testNGCucumberRunner;
}
How to get this TestNGCucumberRunner in SpringBoot so that i can use it for getting all cucumber feature files using testNGCucumberRunner.provideFeatures() SpringBoot is giving null for this, but the same works for Cucumber+TestNG
Aucun commentaire:
Enregistrer un commentaire