我有一个Kotlin项目,当我运行JUnit测试时,我无法在IntelliJ中看到测试执行结果,而是得到以下消息:
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
你能帮助我吗?
我有一个Kotlin项目,当我运行JUnit测试时,我无法在IntelliJ中看到测试执行结果,而是得到以下消息:
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
你能帮助我吗?
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.