【发布时间】:2020-12-01 05:53:53
【问题描述】:
我在eclipse上安装了黄瓜插件。安装后第一次运行良好。但后来它没有识别步骤定义。直到再次重新安装黄瓜插件。
尝试了 2 个不同版本的 eclipse。
我有一个黄瓜依赖
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>6.6.0</version>
<scope>test</scope>
</dependency>
和
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
<version>6.6.0</version>
<scope>test</scope>
</dependency>
你能建议我缺少什么
【问题讨论】:
-
有很多方法可以将某些东西安装到 Eclipse 中。请告知重现问题的确切步骤以及您使用的 Eclipse 的确切版本。
-
添加了版本截图,我已经使用 Eclipse Market 安装了。要重现该问题,请按照以下步骤 1:安装黄瓜 step2:当您执行 crtl+单击时,Gherkins 工作正常,它导航到步骤定义。 step3:关闭eclipse step4:再次进入eclipse,当你尝试crtl+click不起作用