[에러일기/JUnit] Execution failed for task ':test'. 에러

사그미·2025년 1월 31일

에러일기

목록 보기
2/3
post-thumbnail

에러

Execution failed for task ':test'.
> No tests found for given includes: [(패키지/파일 경로)](--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.
> Get more help at https://help.gradle.org.
BUILD FAILED in 994ms
4 actionable tasks: 1 executed, 3 up-to-date

JUnit으로 테스트를 진행하던 중 위와 같은 에러가 발생했다.

해결

Settings-> Build, Execution, Deployment-> Build Tools-> Gradle-> Run tests using을 Gradle 대신 IntelliJ IDEA로 설정해주면 된다!!

profile
애면글면

0개의 댓글