当前位置:
首页 >
Intellij IDEA单元测试提示Test events were not received
发布时间:2023/11/27
60
豆豆
生活随笔
收集整理的这篇文章主要介绍了
Intellij IDEA单元测试提示Test events were not received
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
Intellij IDEA单元测试时提示Test events were not received
也就是可以运行test方法,也提示成功,但是看不到具体的执行结果。
Intellij IDEA从2019.2.1版本开始,会将Gradle管理的项目的测试代码,默认使用Gradle来运行,从Preferences -> Build, Execution, Deployment -> Build Tools -> Gradle进入。
这里修改下就行了:
使用此工具运行测试 选择为IDEA即可
这样就正常了:
总结
以上是生活随笔为你收集整理的Intellij IDEA单元测试提示Test events were not received的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 有没有人知道这是什么花?
- 下一篇: Linux Performance