# JUnit 5 는 이전 버전의 JUnit 과 달리 세 가지 모듈로 구성
JUnit 5 = JUnit Platform + JUnit Jupiter + JUnit Vintage

# Java 버전
Java 8 이상 필요
이전 버전의 JDK에서 컴파일 된 코드는 테스트 가능
# 예시 프로젝트
Gradle & Java
https://github.com/junit-team/junit5-samples/tree/r5.8.2/junit5-jupiter-starter-gradle
GitHub - junit-team/junit5-samples: Collection of sample applications using JUnit 5.
Collection of sample applications using JUnit 5. Contribute to junit-team/junit5-samples development by creating an account on GitHub.
github.com
Gradle & Kotlin
https://github.com/junit-team/junit5-samples/tree/r5.8.2/junit5-jupiter-starter-gradle-kotlin
GitHub - junit-team/junit5-samples: Collection of sample applications using JUnit 5.
Collection of sample applications using JUnit 5. Contribute to junit-team/junit5-samples development by creating an account on GitHub.
github.com
Gradle & Groovy
https://github.com/junit-team/junit5-samples/tree/r5.8.2/junit5-jupiter-starter-gradle-groovy
GitHub - junit-team/junit5-samples: Collection of sample applications using JUnit 5.
Collection of sample applications using JUnit 5. Contribute to junit-team/junit5-samples development by creating an account on GitHub.
github.com
Maven
https://github.com/junit-team/junit5-samples/tree/r5.8.2/junit5-jupiter-starter-maven
GitHub - junit-team/junit5-samples: Collection of sample applications using JUnit 5.
Collection of sample applications using JUnit 5. Contribute to junit-team/junit5-samples development by creating an account on GitHub.
github.com
Ant
https://github.com/junit-team/junit5-samples/tree/r5.8.2/junit5-jupiter-starter-ant
GitHub - junit-team/junit5-samples: Collection of sample applications using JUnit 5.
Collection of sample applications using JUnit 5. Contribute to junit-team/junit5-samples development by creating an account on GitHub.
github.com
'개발 > Java' 카테고리의 다른 글
[Java] eqauls, hashCode 구현 시 getter 를 이용하자! (0) | 2022.04.08 |
---|---|
[JAVA8] HashMap 성능 / 내부구조 (1) | 2022.01.31 |
[Lombok] @Builder / @Builder.Default / @Singular (0) | 2022.01.21 |
[Lombok] @Data / @ToString / @EqualsAndHashCode / @Getter / @Setter / @RequiredArgsConstructor (0) | 2022.01.20 |
[Java] LocalDate, ChronoUnit으로 날짜 간격 구하기(31일 간격으로 나누기) (0) | 2022.01.17 |
댓글