Spring Error - Execution failed for task ':test'.

kdkdhoho·2022년 7월 6일
0

Spring

목록 보기
19/26

만약 Spring Test Code를 작성하여 테스트하고 싶은 것이 있는데 테스트코드 실행이 안되고

Execution failed for task :test.

\> No tests found for given includes: [Test코드 경로](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.

라고 오류가 뜬다면, Settings - Build Tools - Gradle - Build and run using, Run tests using 을 Gradle에서 IntelliJ로 바꿔주자.

profile
newBlog == https://kdkdhoho.github.io

0개의 댓글