运行测试类报错 > Execution failed for task ':test'.


1、报错日志

Execution failed for task ':test'.
> No tests found for given includes: [com.o0u0o.blog.service.EsBlogServiceTest.removeEsBlog](--tests filter)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

错误提醒

2、解决方案

将Gradle 测试改为IntelliJ IDEA即可 No tests

3、最后效果

最后效果


分类:Java
标签: BUG修复
文章目录