1. JUnit5 Overview

 JUnit5를 알아보기 전 JUnit이 무엇인지, 왜 사용하는지에 대해 알아보자!

<aside> 👉 1️⃣ What is JUnit?

2️⃣ What is the use of main method?

3️⃣ What is the problem with the main method?

1.1. JUnit5란?

<aside> 👉 JUnit5 = JUnit Platform + JUnit Jupiter + JUnit Vintage

2. Annotations(애노테이션)

JUnit Jupiter는 테스트 구성 및 프레임워크 확장을 위해 다음 애노테이션을 지원한다. 달리 명시되지 않는 한 모든 핵심 애노테이션은 junit-jupiter-api 모듈의 org.junit.jupiter.api 패키지에 있다.

2.1. 애노테이션을 활용해 테스트 코드 구현

<aside> 👉 JUnit 5.x 버전

출처

🔗 https://junit.org/junit5/docs/current/user-guide/#overview

🔗 https://steady-coding.tistory.com/349#JUnit5란?

🔗  https://pjh3749.tistory.com/240?category=783717

🔗 자바 플레이그라운드 with TDD, 클린코드