IntelliJ IDEA 14.0.0 Web Help

Creating .feature Files

Once Cucumber support is enabled, you can create feature files under the test sources.

To create a feature file

  1. In the Project tool window, right-click a directory, where feature files should be created.
  2. On the context menu of the target directory, choose New | File , and in the New File dialog box, 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.

See Also

Last modified: 12 November 2014
comments powered by Disqus