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 voidrunScenario(PickleWrapper pickleWrapper, FeatureWrapper featureWrapper)Object[][]scenarios()Returns two dimensional array ofPickleWrappers with their associatedFeatureWrappers.voidsetUpClass(org.testng.ITestContext context)voidtearDownClass()
-
-
-
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 ofPickleWrappers with their associatedFeatureWrappers.- Returns:
- a two dimensional array of scenarios features.
-
tearDownClass
@AfterClass(alwaysRun=true) public void tearDownClass()
-
-