IntelliJ 中未定义的步骤定义 [英] Undefined step definitions in IntelliJ

查看:13
本文介绍了IntelliJ 中未定义的步骤定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试按照 这篇文章来匹配黄瓜规格与步骤IntelliJ 中的定义.

当我按 Alt+Enter 时,我看到 检查未定义步骤"选项.但是,我应该看到意图操作创建步骤定义.

When I press Alt+Enter, I see Inspection 'Undefined Step' options. However, I should see the intention action Create Step Definition.

我以为我安装了 Cucumber IntelliJ 插件,所以这应该不是问题.非常感谢任何帮助.

I thought I had the Cucumber IntelliJ plugin installed, so that shouldn't be a problem. Any help is greatly appreciated.

推荐答案

原来我有 Gherkin 插件,但没有 Cucumber for Java 插件.

Turns out I had the Gherkin plugin but not the Cucumber for Java plugin.

这篇关于IntelliJ 中未定义的步骤定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆