【idea】工具使用报错记录

IDEA报错

Execution failed for task ':bg-sec-cspm:test'.
> No tests found for given includes: [com.xxx.bg.sec.cspm.service.impl.GoogleCloudServiceImplTest.getGoogleVpcFirewallList](--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.

经过排查,发现问题出现在

IDEA配置

【idea】工具使用报错记录_第1张图片
将图中的Run tests using 修改为 IntelliJ IDEA 即可
【idea】工具使用报错记录_第2张图片
再去运行测试用例,测试用例代码可以正常运行

你可能感兴趣的:(intellij-idea,java,ide)