public class TestNGCucumberRunner
extends java.lang.Object
| Constructor and Description |
|---|
TestNGCucumberRunner(java.lang.Class clazz)
Bootstrap the cucumber runtime
|
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
java.util.List<cucumber.runtime.model.CucumberFeature> |
getFeatures() |
java.lang.Object[][] |
provideFeatures() |
java.lang.Object[][] |
provideScenarios() |
void |
runCucumber(cucumber.runtime.model.CucumberFeature cucumberFeature) |
void |
runCukes()
Run the Cucumber features
|
void |
runScenario(gherkin.events.PickleEvent pickle) |
public TestNGCucumberRunner(java.lang.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 java.lang.Throwable
java.lang.Throwablepublic void finish()
public java.util.List<cucumber.runtime.model.CucumberFeature> getFeatures()
public java.lang.Object[][] provideFeatures()
CucumberFeatureWrapper objects.public java.lang.Object[][] provideScenarios()
PickleEventWrapper
scenarios combined with their CucumberFeatureWrapper feature.Copyright © 2017. All Rights Reserved.