IDEA plugin "Cucumber for Kotlin"?

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”
1 Like

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

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

1 Like

And also a request for a Kotlin implementation of Cucumber: Support for pure Kotlin tests (needed for Kotlin Multiplatform) · Issue #331 · cucumber/common · GitHub (Help very much wanted!)

1 Like