Package io.cucumber.testng
Class AbstractTestNGCucumberTests
java.lang.Object
io.cucumber.testng.AbstractTestNGCucumberTests
Abstract TestNG Cucumber Test
Runs each cucumber scenario found in the features as separated test.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrunScenario(PickleWrapper pickleWrapper, FeatureWrapper featureWrapper) Object[][]Returns two dimensional array ofPickleWrappers with their associatedFeatureWrappers.voidsetUpClass(org.testng.ITestContext context) void
-
Constructor Details
-
AbstractTestNGCucumberTests
public AbstractTestNGCucumberTests()
-
-
Method Details
-
setUpClass
@BeforeClass(alwaysRun=true) public void setUpClass(org.testng.ITestContext context) -
runScenario
-
scenarios
Returns two dimensional array ofPickleWrappers with their associatedFeatureWrappers.- Returns:
- a two dimensional array of scenarios features.
-
tearDownClass
@AfterClass(alwaysRun=true) public void tearDownClass()
-