Hi! I’m trying to switch from `kotest-runner-junit...
# kotest
p
Hi! I’m trying to switch from
kotest-runner-junit5
to
kotest-framework-engine
, but I’m running into a couple of issues that didn’t happen with the JUnit runner • debugging tests in IntelliJ doesn’t work — it just runs the test instead of debugging • logs only appear after the job has finished or been stopped (in the logs I see that it’s using
listener=teamcity
) I’m running the tests using the Kotest plugin 6.0.0.M13
s
If you're switching to the engine you need to add the kotest gradle plugin to your build and run kotest not test.
Can you try that
p
Yes, I added this plugin to the build, and it is using the
:api:kotest
task to run the tests I also tried running the tests from https://github.com/kotest/kotest-examples/tree/master/kotest-jvm to compare the behavior with my project When I run
kotest-examples
, I see the Kotest configuration (first image). But in my project, it uses the Gradle configuration instead (second image). If I change the engine to the JUnit runner, I get the same window as in
kotest-examples
.
I created an example of my buildSrc configuration with app/test/DebugTest and kotest plugin https://github.com/PetrYako/kotest-engine-test-2#
s
debugging was fixed in the latest code, for both android and jvm
👀 1