IntelliJ IDEA 2021.2 Help

Cucumber

Cucumber is a testing framework that supports behavior-driven development and allows you to write features and scenarios in a human-readable language.

Test results displayed in the Test Runner tab

Cucumber the Cucumber icon support in IntelliJ IDEA includes the following features:

Cucumber for other languages

IntelliJ IDEA allows you to work with Cucumber in other languages apart from Java provided that the required plugins are installed and enabled.

Also, make sure that your edition of IntelliJ IDEA supports the language you are interested in. Languages available only in IntelliJ IDEA Ultimate are marked with the Ultimate badge. For more information on IntelliJ IDEA editions, refer to comparison matrix.

Cucumber for Groovy

To use Cucumber with Groovy, the following plugins must be installed and enabled:

  • Gherkin

  • Cucumber for Java

  • Cucumber for Groovy

Cucumber for Kotlin

To use Cucumber with Kotlin, the following plugins must be installed and enabled:

  • Gherkin

  • Cucumber for Kotlin

Cucumber for Scala

To use Cucumber with Scala, the following plugins must be installed and enabled:

  • Scala

  • Gherkin

  • Cucumber for Scala

Cucumber for Ruby

To use Cucumber with Ruby, the following plugins and gems must be installed and enabled:

  • The Ruby plugin

  • The Gherkin plugin

  • cucumber gem (for Ruby projects), or cucumber and cucumber-rails (for Rails applications); see Bundler

Cucumber for JavaScript

To use Cucumber with JavaScript, the following plugins and gems must be installed and enabled:

  • JavaScript and TypeScript

  • Node.js

  • Cucumber.js

  • Gherkin

Last modified: 02 August 2022