首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在cucumber终端设置多个Cucumber选项插件?

如何在cucumber终端设置多个Cucumber选项插件?
EN

Stack Overflow用户
提问于 2018-07-17 14:41:02
回答 0查看 4.3K关注 0票数 4

我在下面的Cucumber项目中设置了cucumber选项:

我使用-Dcucumber.options通过mvn命令行运行测试来覆盖我的项目的选项:

代码语言:javascript
复制
mvn -f "pom.xml" -Dcucumber.options="--plugin json:report/cucumber.json,junit:target/junitreports.xml --tags @Login" test

但却是show error:

代码语言:javascript
复制
Data provider mismatch
Method: runScenario([Parameter{index=0, type=cucumber.api.testng.PickleEventWrapper, declaredAnnotations=[]}, Parameter{index=1, type=cucumber.api.testng.CucumberFeatureWrapper, declaredAnnotations=[]}])
Arguments: [(cucumber.api.testng.CucumberExceptionWrapper)cucumber.api.testng.CucumberExceptionWrapper@a0bf272]
EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51374784

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档