IDEA plugin "Cucumber for Kotlin"?


#1

Currently IntelliJ IDEA supports Cucumber for Java, Groovy and Scala. Is there any plan to add a similar plugin for Kotlin?

I tried to write step definitions for cucumber in Kotlin. It works! But some nice features are missing:

  • cannot generate Kotlin code from Gherkin feature file. I must generate java code and convert it to Kotlin.
  • I cannot navigate/jump from Gherkin feature file to its step definitions.
  • All feature files are marked with a warning message: “Undefined step reference”

#2

Support for Cucumber is not on our near-term roadmap, but you’re welcome to file a feature request in YouTrack.


#3

There’s an open issue for this: https://youtrack.jetbrains.com/issue/IDEA-185932


#4

And also a request for a Kotlin implementation of Cucumber: https://github.com/cucumber/cucumber/issues/331 (Help very much wanted!)