zoukankan      html  css  js  c++  java
  • java 单元测试 No tests were found 和 org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to discover tests

     
     
     
    解决方法:
     
    1、试过重建 module,不行。
     
    2、试过 maven clean 、刷新、install 等,也不行。
     
    3、重建 module,不同的模块名,行!
     
    4、怀疑某个配置导致,ctrl + shift + r 搜索模块名,但发现没有什么蹊跷和关联了。
     
    5、怀疑是 .idea 的问题,但不敢乱删除。先关机上班。
     
    6、开机上班,打开 idea,右键 .idea 选择 Reload from disk ,重试了一下,问题解决。

  • 相关阅读:
    4.22课堂
    4.21课堂
    4.20作业
    4.20课堂
    4.17课堂
    4.16课堂
    4.15作业
    4.15反射与内置方法
    4.10绑定与非绑定
    70、django中间件
  • 原文地址:https://www.cnblogs.com/CyLee/p/15122149.html
Copyright © 2011-2022 走看看