SpringBoot + Gradle Test执行时报错,No tests found for given includes code泷 2021-03-24 1,285 阅读1分钟 解决方法一 Gradle -> Run tests using 选择 IntelliJ IDEA。 解决方法二 在项目的build.gradle文件中添加下面内容: test { useJUnitPlatform() }