尝试升级从Cucumber 1.0.2(info.cukes)到5.6(io.cucumber),步骤定义无法识别。

huangapple 未分类评论44阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年4月7日 09:34:59
  • 转载请务必保留本文链接:https://java.coder-hub.com/61071461.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定