【问题标题】:add cucumber plugin into intellij idea在 Intellij IDEA 中添加黄瓜插件
【发布时间】:2020-07-16 12:05:48
【问题描述】:

我想在 intellij idea 中添加 add cucumber 插件。我已经使用 eclips 做到了。



 
@RunWith(Cucumber.class)
@CucumberOptions(
        features = "src/test/Feature"
        ,glue={"src/main/stepDefinition"}
        )
 
public class TestRunner {
 

【问题讨论】:

  • 文件 -> 设置 -> 插件 -> 'Cucumber for Java'。通常您应该能够使用所有注释,并且 IntelliJ 将识别文件扩展名

标签: java selenium maven cucumber testng


【解决方案1】:

在 IntelliJ 中,转到文件 -> 设置 -> 插件 -> 选择插件Cucumber for Java

通常您应该能够使用所有注释,并且 IntelliJ 将识别文件扩展名

【讨论】:

    【解决方案2】:

    你需要从IDE添加去设置->插件然后搜索cucumber-java点击确定,你需要重新启动IDE

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多