You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is how I run the tests via IntelliJ IDEA's GUI.
IntelliJ IDEA 2023.3.4 (Ultimate Edition)
Build #IU-233.14475.28, built on February 13, 2024
Non-Bundled Plugins:
kotest-plugin-intellij (1.3.74-IC-2023.3)
Kotlin: 233.14475.28-IJ
Right click on "test" directory and select "Modify Run Configuration"
It seems the "Kotest Run Configuration" is not created, but a "Gradle Run Configuration" is created in my case.
I think "Gradle Run Configuration" is good thing because my project has both tests written with Kotest (new tests) and JUnit (legacy tests).
But then, which one is the problem in this case?
Kotest reports wrong info to Gradle, or Gradle reports wrong info to IDE, or IDE shows wrong info even everything is correct?
Note that, even though, it's a "Gradle Run Configuration", Kotest plugin is still needed, so that IDE can detect tests to create menu buttons.
Actual
UI shows incorrect test name
KoTestContext > result should be
Gradle log prints correct test name
KoTestContext(a) > result should be () FAILED
Expected
UI should always show correct test names in the whole hierarchy exactly as in gradle log.
In this example, it should be
KoTestContext(a) > result should be ()
The text was updated successfully, but these errors were encountered: