junit4
-
What is difference thing between 'junit-vintage-engine' and 'junit-jupiter-engine'Backend/SPRING 2022. 5. 31. 19:07
요세 Junit4에서 작성하던 테스트 코드를 Junit5에서 작성하고 있는데요. vintage-engine 관련된 의존성을 삽입해서 테스트 하다가 오류가 나서 이것저것 찾아보니, junit5는 jupiter engine 기반으로 돌아가더라구요.... 말나온 김에 차이점을 말씀드려보면 1.junit-vintage-engine (1) junit4 테스팅을 위해 사용됨 (2) core class 혹은 annotation 들이 호출되는 방식으로 사용됨 (3) @Ignore, @Before, etc와 같은 annotation들이 쓰임 2.junit-jupiter-engine (1) junit5 테스팅을 위해 사용됨 (2) 테스트에 필요한 기능들을 제공하는 api를 호출하는 방식으로 사용됨 (3) @Disa..