Cucumber
Cucumber supports BDD, and enables using features and scenarios written in a human-readable language. Cucumber becomes available in IntelliJ IDEA, provided that the following prerequisites are met:
- Cucumber for Java
-
The Cucumber for Java bundled plugin is enabled.
cucumber-java version 1.xx is specified as a dependency.
- Cucumber for Groovy
-
The Cucumber for Groovy bundled plugin is enabled.
cucumber-groovy version 1.xx is specified as a dependency.
- Cucumber for Ruby
-
The Ruby plugin is installed and enabled.
cucumber gem (for Ruby projects), or cucumber and cucumber-rails (for Rails applications) are installed and activated.
- Cucumber for JavaScript
-
The JavaScript support bundled plugin is enabled.
Node.js is installed.
The Cucumber.js and Gherkin plugins are installed and enabled.
Cucumber support
IntelliJ IDEA supports:
Syntax and error highlighting.
Quick fix to create step definitions.
Ability to describe steps in English or any other language specified in the
# language:
comment.Run/debug configurations: Cucumber, Cucumber for Java, Cucumber.js.
Ability to run all features in a directory, a feature, or a single step within a feature.
Cucumber files are marked with .