“Test events were not received” when run tests using Intellij

前端 未结 13 2285
花落未央
花落未央 2021-02-06 21:11

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

13条回答
  •  时光说笑
    2021-02-06 21:29

    In my case I had an invalid Gradle JVM configuration (configured jdk was removed from filesystem).

    To Fix it had to change Gradle JVM on File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Gradle JVM.

    It was red due to an invalid JDK path.

    IntelliJ version: 2019.2.3

提交回复
热议问题