<Kotlin `JUnit5` annotations and assertions not re...
# stackoverflow
r
Kotlin `JUnit5` annotations and assertions not recognized despite following official documentation I'm trying to set up JUnit5 for testing in my Kotlin project, but I'm encountering issues with test annotations and assertions not being recognized. I've followed the official Kotlin documentation for setting up JUnit5 (https://kotlinlang.org/docs/jvm-test-using-junit.html), but it's not working as expected. Here's what I've done: Added these lines to my build.gradle.kts: dependencies {...