[Spring Boot/스프링부트] IntelliJ JUnit Test시 No tests found for given includes: [...](--tests filter)
IntelliJ JUnit Test시 'No tests found for given includes: [...](--tests filter)'의 에러가 발생하였습니다. 이것 저것 시도를 하여 해결하였으며, 두 개의 방법으로 해결했습니다. 1. Gradle Build 시 해결방법 프로젝트 내 build.gradle 파일을 열어 최하단에 tasks.named('test') 인라인 블록에 useJUnitPlatform()이 없거나 주석 처리 되어있으면 넣어주시면 됩니다. ※ JUnit Test 셋팅이 되어있다는 가정하에 입니다. tasks.named('test') { useJUnitPlatform() } 2. IntelliJ 셋팅 변경 위의 방법으로 해결이 안된다면 IntelliJ 셋팅을 변경해봐야 합니다. ..
Development/Spring
2022. 6. 7. 12:18