Java/Test
(Test) JUnit5 소개
주누
2019. 12. 16. 20:04
Junit5
자바 개발자가 가장 많이 사용하는 테스팅 프레임워크.
-
“단위 테스트를 작성하는 자바 개발자 93% JUnit을 사용함.”
-
자바 8 이상을 필요로 함.
-
대체제: TestNG, Spock, ...
Platform: 테스트를 실행해주는 런처 제공. TestEngine API 제공.
Jupiter: TestEngine API 구현체로 JUnit 5를 제공.
Vintage: JUnit 4와 3을 지원하는 TestEngine 구현체.
참고:
JUnit 5 User Guide
Although the JUnit Jupiter programming model and extension model will not support JUnit 4 features such as Rules and Runners natively, it is not expected that source code maintainers will need to update all of their existing tests, test extensions, and cus
junit.org