Package io.cucumber.testng
Class AbstractTestNGCucumberTests
- java.lang.Object
-
- io.cucumber.testng.AbstractTestNGCucumberTests
-
@API(status=STABLE) public abstract class AbstractTestNGCucumberTests extends Object
Abstract TestNG Cucumber TestRuns each cucumber scenario found in the features as separated test.
- See Also:
TestNGCucumberRunner
-
-
Constructor Summary
Constructors Constructor Description AbstractTestNGCucumberTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
runScenario(PickleWrapper pickleWrapper, FeatureWrapper featureWrapper)
Object[][]
scenarios()
Returns two dimensional array ofPickleWrapper
s with their associatedFeatureWrapper
s.void
setUpClass(org.testng.ITestContext context)
void
tearDownClass()
-
-
-
Method Detail
-
setUpClass
@BeforeClass(alwaysRun=true) public void setUpClass(org.testng.ITestContext context)
-
runScenario
public void runScenario(PickleWrapper pickleWrapper, FeatureWrapper featureWrapper)
-
scenarios
@DataProvider public Object[][] scenarios()
Returns two dimensional array ofPickleWrapper
s with their associatedFeatureWrapper
s.- Returns:
- a two dimensional array of scenarios features.
-
tearDownClass
@AfterClass(alwaysRun=true) public void tearDownClass()
-
-