Package io.cucumber.testng
Class AbstractTestNGCucumberTests
java.lang.Object
io.cucumber.testng.AbstractTestNGCucumberTests
@Deprecated(forRemoval=true)
@API(status=DEPRECATED)
public abstract class AbstractTestNGCucumberTests
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Abstract TestNG Cucumber Test
Runs each cucumber scenario found in the features as separated test.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable TestNGCucumberRunnerDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidrunScenario(PickleWrapper pickleWrapper, FeatureWrapper featureWrapper) Deprecated, for removal: This API element is subject to removal in a future version.Runs a given pickle from given feature.Object[][]scenarios(org.testng.ITestContext context) Deprecated, for removal: This API element is subject to removal in a future version.Returns two-dimensional array ofPickleWrappers with their associatedFeatureWrappers.voidsetUpClass(org.testng.ITestContext context) Deprecated, for removal: This API element is subject to removal in a future version.Starts the test run.voidDeprecated, for removal: This API element is subject to removal in a future version.Finishes the test run.
-
Field Details
-
testNGCucumberRunner
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
AbstractTestNGCucumberTests
public AbstractTestNGCucumberTests()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setUpClass
@BeforeClass(alwaysRun=true) public void setUpClass(org.testng.ITestContext context) Deprecated, for removal: This API element is subject to removal in a future version.Starts the test run.Sublcasses may override this method, but must invoke it.
-
runScenario
Deprecated, for removal: This API element is subject to removal in a future version.Runs a given pickle from given feature.Sublcasses may override this method, but must invoke it.
-
scenarios
Deprecated, for removal: This API element is subject to removal in a future version.Returns two-dimensional array ofPickleWrappers with their associatedFeatureWrappers.Sublcasses may override this method, but must invoke it.
- Returns:
- a two-dimensional array of scenarios features.
-
tearDownClass
@AfterClass(alwaysRun=true) public void tearDownClass()Deprecated, for removal: This API element is subject to removal in a future version.Finishes the test run.Sublcasses may override this method, but must invoke it.
-
Please switch to cucumber-junit-platform-engine. If there are missing features that prevent you from upgrading please create an issue.