https://kotlinlang.org logo
#kotest
Title
# kotest
m

marzelwidmer

04/11/2021, 4:01 PM
Hello I was trining to setup my new
KMM
generated project from the
KMM PluginWizard
I don’t know what I miss… here but I cant get it up&running on AS. https://kotlinlang.slack.com/archives/C3PQML5NU/p1618153601483200?thread_ts=1617926247.459900&cid=C3PQML5NU
s

sam

04/11/2021, 4:07 PM
Make sure you have the intellij plugin installed too https://plugins.jetbrains.com/plugin/14080-kotest
m

marzelwidmer

04/11/2021, 5:01 PM
@sam See my post I have the following Version
s

sam

04/11/2021, 5:02 PM
ah yes
you probably need to put the test in jvmTest, I'm not sure commonTest works properly on older versions of intellij (which AS is based on). I know this works on 2021.1
The intellij plugin doesn't use junit, it just runs the tests itself, so make sure you have the engine dependency
m

marzelwidmer

04/11/2021, 5:09 PM
thanks… I also think now is about the AS … with my IDEA I don`t have any issues.. but there is the
kmm
plugin not available 😞 🙂
Copy code
implementation ("io.kotest:kotest-runner-junit5-jvm:${Versions.kotest}")
                implementation("io.kotest:kotest-framework-engine:${Versions.kotest}")
                implementation ("io.kotest:kotest-assertions-core:${Versions.kotest}")
                implementation ("io.kotest:kotest-property:${Versions.kotest}")
            }
s

sam

04/11/2021, 5:09 PM
If you move to jvmTest it might work, as the plugin works for "jvm" stuff. On 2021.1 it works from commonTest too.
m

marzelwidmer

04/11/2021, 5:10 PM
I will try it… thanks .. for the hint…
👍🏻 1
8 Views