本文整理汇总了Java中cucumber.api.testng.CucumberFeatureWrapper类的典型用法代码示例。如果您正苦于以下问题:Java CucumberFeatureWrapper类的具体用法?Java CucumberFeatureWrapper怎么用?Java CucumberFeatureWrapper使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CucumberFeatureWrapper类属于cucumber.api.testng包,在下文中一共展示了CucumberFeatureWrapper类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: feature
import cucumber.api.testng.CucumberFeatureWrapper; //导入依赖的package包/类
@Test(groups = "cucumber", description = "Runs Cucumber Feature", dataProvider = "features")
public void feature(CucumberFeatureWrapper cucumberFeature) {
testNGCucumberRunner.runCucumber(cucumberFeature.getCucumberFeature());
}
开发者ID:sahajamit,项目名称:cucumber-jvm-testng-integration,代码行数:5,代码来源:RunCukesByFeatureAndCompositionTest1.java
示例2: feature
import cucumber.api.testng.CucumberFeatureWrapper; //导入依赖的package包/类
@Test(
groups = {"cucumber"},
description = "Runs Cucumber Feature",
dataProvider = "features"
)
public void feature(CucumberFeatureWrapper cucumberFeature) {
if (!isCucumberTest()) return;
this.testNGCucumberRunner.runCucumber(cucumberFeature.getCucumberFeature());
}