목차
No matching tests found in any candidate test task.
첫번째 방법. build.gradle에 내용 추가
test {
useJUnitPlatform()
}
Junit5부터는 다음 내용을 추가하여야 테스트가 인식됩니다.
두번째 방법. 빌드 도구 설정 수정
Settings - Build, Execution, Deployment - Build Tools - Gradle
위 이미지에서 표시된 부분을 IntelliJ로 수정합니다.
참고 자료
Intelij 2019.1 update breaks JUnit tests
After 2019.1 update broke all tests with error: no tests found for given includes xxxx.someThingTest
stackoverflow.com
테스트 도중 에러 발생 - 인프런 | 질문 & 답변
FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':test'.> No tests found for given includes: [jpabook.jpashop.Mem...
www.inflearn.com
'기타 > 에러' 카테고리의 다른 글
LNK2005 이미 정의되어 있습니다. / 외부라이브러리 충돌 해결 (0) | 2024.11.02 |
---|---|
GitHub Fork 리포지토리 업데이트 오류 - Untracked working tree file ~ by merge. 추적되지 않은 파일 덮어쓰기 에러 - src refspec main does not match any (0) | 2023.11.25 |