英文:
Trying to upgrade from Cucumber 1.0.2 info.cukes to 5.6 io.cucumber, step definition not being recognized
问题
我正在尝试将套件从旧的 info.cukes (1.0.2) 升级到 io.cucumber (5.6) 的最新版本。
虽然旧的导入方式可以识别步骤定义,但一旦我改变导入方式并移除旧的依赖,步骤定义就无法被识别。
有人能否建议升级的最佳方法。我们迫切需要使用旧版本中不存在的新功能。
不幸的是,由于政策的原因,我无法添加任何代码片段。
英文:
I am trying to upgrade the suite from old info.cukes (1.0.2) to io.cucumber (5.6) with latest version.
The step definitions are recognized with the old imports but as soon as I change the import and remove the old dependencies, step definitions are not recognized.
Can anyone suggest the best way to upgrade. We are in desperate need to use the new features not available in old version.
unfortunately due to policy i can not add any snippets.
专注分享java语言的经验与见解,让所有开发者获益!
评论