kotest / kotest-intellij-plugin

The official Kotest plugin for Intellij and Android Studio
Apache License 2.0
179 stars 25 forks source link

Failing kotest assertion seems to not be correctly propagated to test results in IntelliJ #126

Closed bjpe closed 3 years ago

bjpe commented 3 years ago

Hi everyone,

I'm not sure if this is the right project, so I also reported it under https://github.com/kotest/kotest/issues/2192.

We a have project with Java and Kotlin code, and both have JUnit and kotest tests (we are migrating from Java to Kotlin). When we execute all tests in IntelliJ using the context menu action Run 'All Tests', we observed the following irritating behaviour:

I just created https://github.com/bjpe/kotest-bug as an example code base, and the test execution results looks as follows: image

What we would expect is that kotest.FailingKotestTest is marked as failed as well. Strangely, if I open the same result via the "Test History" option, the result is as expected: image

I'm using IntelliJ 2021.1 with kotest plugin 1.1.30-IC-211-EAP-SNAPSHOT. If you need more details, please give me a hint.

Kind Regards, Björn

sksamuel commented 3 years ago

Not an issue with the plugin - replied on the other ticket.