【发布时间】:2019-01-29 18:17:17
【问题描述】:
我无法从 Eclipse 运行黄瓜功能。当我右键单击功能文件时,选项 run as > cucumber 功能可用,但是当我使用它时没有任何反应,甚至没有出现错误...
- 我安装了黄瓜插件,甚至重新安装了
- 从终端测试运行良好(mvn clean tests)
- 在 intellij 中有效
- Eclipse 版霓虹灯
知道发生了什么吗?
【问题讨论】:
-
你应该通过 testrunner 文件运行它。需要创建 testNG 或 junit 测试运行器然后触发它
-
测试运行器是由 cucumber-parallel 插件在运行时生成的,我的源代码中没有它们