本文介绍了IntelliJ中未定义的步骤定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试遵循这篇文章,以使Cucumber规格与step匹配
当我按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中未定义的步骤定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!