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

phldavies

05/23/2022, 2:30 PM
Is there any way to run a JUnit test class when using kotest? We have an abstract base class that defines lifecycle/tests for a component using JUnit5 (from a library we don’t control) but we’re using kotest in our project.
w

wasyl

05/23/2022, 2:34 PM
I won’t help with details, but we run both Kotest and legacy JUnit tests (through vintage runner) without issues. Gradle just recognizes and runs all tests, regardless of the runner
p

phldavies

05/23/2022, 3:00 PM
So it turns out we didn’t pull in the junit5 runner 🙂 Thanks 👍
👌 1
d

dave08

11/20/2022, 2:55 PM
I pulled in the engine and api, and it still seems not to work... I get "no tests found" 🤕... am I missing something? It's a multi-module gradle project.
2 Views