【问题标题】:cucumber plugin needs to be re-install every time eclipse is restarted每次重启eclipse都需要重新安装黄瓜插件
【发布时间】: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>

你能建议我缺少什么

--update 添加cucumber版本和eclipse版本

【问题讨论】:

  • 有很多方法可以将某些东西安装到 Eclipse 中。请告知重现问题的确切步骤以及您使用的 Eclipse 的确切版本。
  • 添加了版本截图,我已经使用 Eclipse Market 安装了。要重现该问题,请按照以下步骤 1:安装黄瓜 step2:当您执行 crtl+单击时,Gherkins 工作正常,它导航到步骤定义。 step3:关闭eclipse step4:再次进入eclipse,当你尝试crtl+click不起作用

标签: eclipse cucumber gherkin


【解决方案1】:

不确定它是否适合您,因为我以前遇到过类似的问题。 尝试通过配置转换为黄瓜项目-> 转换为黄瓜项目

【讨论】:

  • 我试过这个......它有时有效,有时没有变化
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-07-19
  • 1970-01-01
  • 1970-01-01
  • 2013-01-27
相关资源
最近更新 更多