Support for pure Kotlin tests (needed for Kotlin Multiplatform)
- Dominant language
- No language data
- Stars
- 3.4k
- Forks
- 679
- PR merge metrics
- No merged PRs in 30d
Description
Kotlin now has support for multiplatform projects. Common code is written in pure Kotlin (no Java dependencies are possible) and then developer creates modules like `common-jvm` and `common-js` which can contain JVM or JS dependencies. The code in the common module should be tested and Jetbrains created annotations in `kotlin.test` package which are automatically translated into JUnit or JS tests. Then tests can run on all platforms with no work. [More documentation here](https://kotlinlang.org/docs/reference/multiplatform.html#multiplatform-tests).
So currently cucumber can be used only in `common-jvm` or `common-js` modules, but not in the common module. Which means writing step definitions twice. It would be great if cucumber supported `kotlin.test` tests directly.
Contributor guide
Assessment
This issue has not been assessed yet.