https://kotlinlang.org logo
Title
m

Marc

03/29/2023, 11:22 AM
After adding kotest in my Android Project the old junit tests are not un but the kotest one do. The output for the junit tests is: “Test events where not received”
added
testRuntimeOnly("org.junit.vintage:junit-vintage-engine") {
    }
and worked, not sure if this is a good approach tho…
e

Emil Kantis

03/30/2023, 6:43 AM
If you have junit4-tests, I think you could just switch the runner for kotest to junit4 and have everything work (it would pul in the vintage engine and use it as well). I'm guessing you used the junit5 runner?
m

Marc

03/31/2023, 8:12 AM
hmm, that would provably be! indeed! thanks for the info