Junit5로 단위 테스트 작성하기 기본적인 스프링부트에서 JUnit5를 사용해서 단위 테스트를 작성해보자 testImplementation 'org.springframework.boot:spring-boot-starter-test' 아마 Spring Intializer에서 스프링 부트 프로젝트를 만들었다면, gradle에 해당 내용이 포함되어 있을 것이고, test 폴더에 ApplicationTests.java 파일도 이미 생성되어 있을 것이다. ApplicationTests.java 파일을 살펴 보자. @SpringBootTest class ApiApplicationTests { @Test void contextLoads() { } } 간단해보이지만, 의미가 있는 것들이다. intelliJ 개발환경을..