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

Brian Estrada

05/19/2022, 6:16 AM
Anyone have any luck running kotest on kotlin native?
a

Alexandre Brown

05/20/2022, 1:19 AM
Yes here are my dependencies CommonTest dependencies
Copy code
implementation("io.kotest:kotest-assertions-core:$kotestVersion")                
implementation("io.kotest:kotest-framework-engine:$kotestVersion")
implementation("io.kotest:kotest-framework-datatest:$kotestVersion")

implementation("io.kotest:kotest-property:$kotestVersion")
JvmTest dependencies
Copy code
implementation("io.kotest:kotest-runner-junit5:$kotestVersion")
b

Brian Estrada

05/22/2022, 7:09 AM
thanks!
I tried getting the tests to run without having any jvm tests but I guess maybe that’s not possible? (i.e only having tests in the commonTest folder)
a

Alexandre Brown

05/22/2022, 5:43 PM
Yes I'm able to define and run tests only in commonTest. Do you have the Kotest intellij plugin? Without it you won't see the play/run test button for commonTest
5 Views