Arch test is junit 4?
# kotest
s
Arch test is junit 4?
a
yes
maybe because kotest is junit5
Copy code
io.kotest:kotest-runner-junit5-jvm
🤔 1
m
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
thanks
m
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
jupeee! works
thanks guys!! 🎉
m
Your Welcome!
👍🏻 1