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 TypeMethodDescriptionvoid
runScenario
(PickleWrapper pickleWrapper, FeatureWrapper featureWrapper) Object[][]
Returns two dimensional array ofPickleWrapper
s with their associatedFeatureWrapper
s.void
setUpClass
(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 ofPickleWrapper
s with their associatedFeatureWrapper
s.- Returns:
- a two dimensional array of scenarios features.
-
tearDownClass
@AfterClass(alwaysRun=true) public void tearDownClass()
-