Intellij IDEA单元测试时提示Test events were not received

也就是可以运行test方法,也提示成功,但是看不到具体的执行结果。

Intellij IDEA单元测试提示Test events were not received

Intellij IDEA从2019.2.1版本开始,会将Gradle管理的项目的测试代码,默认使用Gradle来运行,从Preferences -> Build, Execution, Deployment -> Build Tools -> Gradle进入。

 

这里修改下就行了:

使用此工具运行测试 选择为IDEA即可

Intellij IDEA单元测试提示Test events were not received

这样就正常了:

Intellij IDEA单元测试提示Test events were not received

 

相关文章:

  • 2021-08-27
  • 2021-06-09
  • 2021-08-30
  • 2022-12-23
  • 2021-04-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-21
  • 2022-12-23
  • 2022-01-13
  • 2021-11-26
  • 2022-01-08
  • 2021-04-09
相关资源
相似解决方案