简体   繁体   English

将 cucumber 插件添加到 intellij IDEA 中

[英]add cucumber plugin into intellij idea

I want to add add cucumber plugin into intellij idea.I have did this using eclips.我想在intellij idea中添加添加cucumber插件。我使用eclips做到了这一点。



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

In IntelliJ, go to file -> settings -> plugins -> choose the plugin Cucumber for Java在 IntelliJ 中,go 到文件 -> 设置 -> 插件 -> Cucumber for Java

Normally you should be able to use all annotations and IntelliJ will recognize the file-extensions通常您应该能够使用所有注释,并且 IntelliJ 将识别文件扩展名

You need to add from IDE go to settings -->plugins then search cucumber-java click ok and you need to restart IDE您需要从 IDE go 添加到 settings -->plugins 然后搜索cucumber-java点击 ok 并且您需要重新启动 IDE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM