Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Cucumber with IntelliJ

Does anyone knows why 'Cucumber Java' does not appear in "Edit Configurations -> Defaults -> ???? even though my pom file as downloaded the dependency i.e. cucumber-java (1.1.5)

<dependencies>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-core</artifactId>
            <version>1.1.5</version>
        </dependency>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-java</artifactId>
            <version>1.1.5</version>
        </dependency>
        <dependency>
            <groupId>info.cukes</groupId>
            <artifactId>cucumber-junit</artifactId>
            <version>1.1.5</version>
        </dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-server</artifactId>
            <version>2.38.0</version>
        </dependency>
    </dependencies>

Pom.xml file is used to install all the necessary plugins i.e. cucumber for java plugin

like image 565
Toks Avatar asked Feb 13 '14 14:02

Toks


1 Answers

Make sure you have installed and enabled the Cucumber for Java plugin from the JetBrains plugin repository.

Look in the File -> Settings... enter image description here

And you cannot install plugins into IDEA via Maven.

like image 78
Eugene Evdokimov Avatar answered Sep 21 '22 15:09

Eugene Evdokimov