Reputation: 171
I want to add add cucumber plugin into intellij idea .I have did this using eclips.
@RunWith(Cucumber.class)
@CucumberOptions(
features = "src/test/Feature"
,glue={"src/main/stepDefinition"}
)
public class TestRunner {
Upvotes: 0
Views: 4746
Reputation: 978
You need to add from IDE go to settings -->plugins then search cucumber-java click ok and you need to restart IDE
Upvotes: 2
Reputation: 1150
In IntelliJ, go to file -> settings -> plugins -> choose the plugin Cucumber for Java
Normally you should be able to use all annotations and IntelliJ will recognize the file-extensions
Upvotes: 4