public class TestNGCucumberRunner extends Object
| Constructor and Description |
|---|
TestNGCucumberRunner(Class clazz)
Bootstrap the cucumber runtime
|
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
List<cucumber.runtime.model.CucumberFeature> |
getFeatures() |
Object[][] |
provideFeatures() |
Object[][] |
provideScenarios() |
void |
runCucumber(cucumber.runtime.model.CucumberFeature cucumberFeature) |
void |
runCukes()
Run the Cucumber features
|
void |
runScenario(gherkin.events.PickleEvent pickle) |
public TestNGCucumberRunner(Class clazz)
clazz - Which has the cucumber.api.CucumberOptions and org.testng.annotations.Test annotationspublic void runCukes()
public void runCucumber(cucumber.runtime.model.CucumberFeature cucumberFeature)
public void runScenario(gherkin.events.PickleEvent pickle)
throws Throwable
Throwablepublic void finish()
public List<cucumber.runtime.model.CucumberFeature> getFeatures()
public Object[][] provideFeatures()
CucumberFeatureWrapper objects.public Object[][] provideScenarios()
PickleEventWrapper
scenarios combined with their CucumberFeatureWrapper feature.Copyright © 2017. All rights reserved.