how do i configure kotest to run without junit in ...
# kotest
c
how do i configure kotest to run without junit in gradle and idea? what dependencies do I use?
s
You need junit for gradle
For idea you just need the engine dependency and the plugin
c
oh i thought there was experimental support for gradle without junit
s
Yes, there is experimental support. If you'd like to try it and feed back you can, but it's JVM only (as JUnit support is). https://github.com/kotest/kotest-gradle-plugin
c
junit support is also jvm only? how do i run kotest tests on js for example?
ah ok i guess kotest uses kotlin test on MP and not junit
s
yes, for JS it builds on top of the compiler support that kotlin.test also uses. So JS -> use kotest engine Intellij - use kotest engine JVM - use junit (which will add engine transitively) or the gradle plugin (use engine)
In 2021 if/when the gradle plugin becomes the preferred option then JUnit would be entirely optional.
c
ok so its a long way? does it still have bugs?
s
I think its ok, but until more people test it, it won't be considered robust