Shalitha Jayamal
Shalitha Jayamal

Reputation: 171

add cucumber plugin into intellij idea

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

Answers (2)

Justin Lambert
Justin Lambert

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

Paul
Paul

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

Related Questions