IntelliJ IDEA 2020.1 Help

Create .feature files


Cucumber for Java should be downloaded and installed on your computer!

Once Cucumber for Java support is enabled, you can create feature files .

Creating feature files

To create a feature file

  1. In the Project tool window, right-click a directory, where feature files should be created.

  2. From the context menu of the target directory, choose New | File, and in the New File dialog, type <name>.feature.

  3. In the feature file, type your scenario. Since there are no step definitions, the steps will be highlighted as unresolved.

  4. Create step definitions.

Last modified: 29 June 2020