Backend/Spring
테스트 케이스 돌리니 TestEngine with ID 'junit-vintage' failed to discover tests 오류가 뜨는 경우
Chung-A
2021. 11. 6. 01:17
가끔 프로젝트 새로 만들고 프로젝트 돌리면
TestEngine with ID 'junit-vintage' failed to discover tests
라는 에러가 뜰 때가 있다.
이럴 때는 maven 에 아래 의존성을 추가해주면 된다.
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
[참고한 글]
Error "TestEngine with ID 'junit-vintage' failed to discover tests" with Spring Boot 2.2
I have a simple app using Spring Boot and Junit 5: When using Spring Boot 2.1 (e.g, 2.1.8 or 2.1.12), my unit tests run smoothly When using Spring Boot 2.2 (e.g., 2.2.2.RELEASE or 2.3.2.RELEASE) m...
stackoverflow.com