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

jlw

03/30/2021, 9:20 PM
I just upgraded our environment to Java 11, and now I am getting problems with gradle and kotest. Specially, gradle can’t find any tests to run. I’m sure I have something mis-configured. Has anyone run into this before? And can point me in the right direction before I start fiddling with everything?
l

LeoColman

03/30/2021, 10:11 PM
Did you remember to
useJUnitPlatform
?
j

jlw

03/30/2021, 10:12 PM
Yeah. I’ve even tried specifying kotest as an engine explicitly with no luck
Okay. Identified the problem. We had upgraded to kotest v4.4.3, but we were still running kotlin 1.3.72. Surprisingly, this ran just fine on java 8. However, when we upgraded to java 11 everything broke. To get it to work, we have to upgrade to kotlin 1.4.+ or use kotest 4.3.2. I’m very curious for an explanation of why this happening - just for curiosity’s sake - in case anyone knows.