且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在同一项目中具有多个Cucumber步骤定义以测试产品变体

更新时间:2022-12-07 21:03:11

如果您在android和ios之间没有任何通用的stepdefinition代码,请使用粘胶选项告诉相应的跑步者在子文件夹中查找stepdef代码.对于android,请使用'glue ="android.step_definitions"';对于ios,请使用'glue ="ios.step_definitions"'

If you do not have any common stepdefinition code between android and ios, then use the glue option to tell the respective runners to look for the stepdef code in the subfolders. For android use 'glue="android.step_definitions"' and for ios use 'glue="ios.step_definitions"'