https://kotlinlang.org logo
Title
s

sam

03/27/2020, 1:03 PM
Arch test is junit 4?
a

Angelina

03/27/2020, 1:05 PM
yes
maybe because kotest is junit5
io.kotest:kotest-runner-junit5-jvm
🤔 1
m

Mike

03/27/2020, 1:07 PM
If you're using
useJUnitPlatform()
in your build, but want JUnit platform to run junit4 tests, you need to ensure you have the junit vintage runner on the classpath. I'll send a link shortly
🔝 1
👍 2
a

Angelina

03/27/2020, 1:07 PM
thanks
m

Mike

03/27/2020, 1:08 PM
https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle-engines-configure Second code example, and paragraph above talks about running JUnit 4 tests. Basically, add the junit-vintage-engine as described there, and Junit Platform should run both sets of tests.
👍 1
a

Angelina

03/27/2020, 1:11 PM
jupeee! works
thanks guys!! 🎉
m

Mike

03/27/2020, 1:58 PM
Your Welcome!
👍🏻 1