Search code examples
testingintellij-ideakotlinjunit

"Test events were not received" when run tests using Intellij


I have a Kotlin project and when I run my JUnit tests, I can't see tests execution result in IntelliJ and get this message instead:

test events were not received

I'm using this setup:

macOS Mojave

Intellij CE 2019.2

JDK 11.0.3

Kotlin 1.3.50

Gradle 5.2.1

JUnit 4.12

Can you help me?


Solution

  • Update to 2019.2.2 or later, which contains the fix for the related issue.

    A workaround is to run the tests using IntelliJ IDEA instead of Gradle by changing the delegation option.