본문 바로가기
Error 정리

[Junit Test] 테스트가 안될때

by 집돌이디벨로퍼 2024. 9. 4.
Execution failed for task ':test'.
> No tests found for given includes: [com.example.toyproject1_wst.JDBCTest.testConnection](filter.includeTestsMatching)

* 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.
> Get more help at https://help.gradle.org.
BUILD FAILED in 3s
4 actionable tasks: 2 executed, 2 up-to-date

 

아예 테스트가 돌아가질 않아서 참 많이 헤맸다 허허..

그냥 

Setting -> Gradle ->

 

Run tests using 이 Gradle 로 되어있어서 Intellij IDEA 로 바꿔주니까 바로 해결되었음