Cucumber for Java

Products: IntelliJ IDEA, Android Studio

Vendor: JetBrains

Source code:

This plugin enables Cucumber support with step definitions written in Java. The following coding assistance features are available:
  • Error and syntax highlighting.
  • Indentation.
  • Intention actions.
  • Viewing code structure.
  • Navigation in the source code.
  • Integrated documentation.
  • Code completion.
  • Search for usages.
  • Commenting and uncommenting lines.
Downloads: 66453
Participated in rating: 9
Version Compatible builds Date
145.597 145.597 + 10.05.2016 Download
145.258 145.258 + 04.04.2016 Download
143.382 143.382 + 13.11.2015 Download
143.381 143.381 + 05.11.2015 Download
142.3553 142.3553 + 03.08.2015 Download
141.178 141.178 + 14.04.2015 Download
139.225 139.225 + 13.11.2014 Download
139.69 139.69 + 15.10.2014 Download
134.1007 134.1007 + 12.02.2014 Download
133.70 133 — 134 19.11.2013 Download
1.0 123 — 131 02.04.2013 Download


2016-06-15 15:36:50
I get a "indent with 2 spaces" suggestion which never does anything... Also if this option could be added to the popup menu of content assist (alt-enter) it would be very helpful!
2016-06-13 19:47:16
moustakas42 , Could you clarify the second problem? It would be nice if yo file issue to our tracker (with code sample)
2016-06-13 17:56:19
Good job, but please improve refactoring and add a suggestion to correct identation (the current one isn't always there and doesn't work when it is).
2016-06-07 22:05:29
Worked cucumber-java8 only scenario written En lang. Add Support please Ru lang
2016-04-18 16:15:38
cucumber.cli.Main is located in cucumber-core jar. You should attach this jar file to your project. Also there is no need to fill run configuration manually. You could run .feature file from context menu, in this case IDE will fill all necessary run configuration properties
2016-04-16 16:46:15
It does not work for me in IntelliJ IDEA 2016.1.1; I've followed carefully I have enabled plugin, set module dependency to cucumber-java8.1.2.4.jar and and set scope to "Test"; I've created a ".feature" file, then the step definitions and everything seemed to work fine till I have tried to create a run/debug configuration in order to be able to run the test. I've found that there is a "Cucumber java" configuration in the "Defaults" group, but it is completely empty. According to the main class should be, by default, "cucumber.cli.Main" and "this class is taken from the jar archive attached when enabling Cucumber support in project." I cannot figure where to find this class, because is not present in the cucumber-java8.jar. And it's obvious that with an invalid run configuration I am not able to run the tests.
2016-04-05 16:39:54
It's known issue: we are working on it
2016-04-05 16:09:50
The new version of this plug-in requires Java 8.
2016-03-18 14:29:59
"Scenario outline parameter" and "Step parameter" does not have syntax highlighting (even if is set in Settings-Colors & Fonts-Cucumber) in the following (currently the latest) IntelliJ IDEA version: IntelliJ IDEA 2016.1 Build #IC-145.258, built on March 17, 2016 JRE: 1.8.0_65-b17 amd64 JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
2016-01-21 13:09:33
I am trying to write a script to install this automatically. I can download this plugin, but cannot find the cucumber plugin to download and install. Where do you find that from? I see you linked to a version of it in a previous comment, but I would like to find the latest version when possible.
2015-08-13 05:34:03
Need Plugin Descriptor to install on Intellij
2015-05-22 12:14:02
Hi Andrey, Thanks for the great plugin. I'm a user of the derived Scala plugin and I'm having an issue with the "Go to implementation" dropdown being too wide: Could you maybe help us out and give us a hint what we need to return in order to make it narrower? Thanks for your help, Leonard
2015-05-21 12:20:59
I created issue for lambda 8 step defs, feel free to vote for it.
2015-05-14 13:26:33
What about support of java 8 lambda style of step definitions? Currently plugin does not find such step defs in Intellij Idea 14.1.2 (141.178 version of plugin)
2015-04-07 02:46:49
Refactoring the lines in the feature file does not change the text in the supporting Java code--this makes refactoring pretty useless. When a scenario has a table in it like: | bedroomSize | 2+ | | bathSize | 1+ | This data should be showing in the steps of the Run panel, but it's not. Great work overall though. Thanks