build.gradle - 추가한 라이브러리들dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}



System.out.print()사용을 지양하고 로그파일을 통해 테스트를 할 것slf4j와 logback가 있음
spring-boot-starter-webspring-boot-starter-tomcat : 톰캣(웹서버)spring-webmvc : 스프링 웹 MVCspring-boot-starter-thymeleaf : 타임리프 템플릿 엔진(View)spring-boot-starter(공통) : 스프링 부트 + 스프링 코어 + 로깅spring-bootspring-corespring-boot-starter-logginglogback, slf4jspring-boot-starter-testjunit : 테스트 프레임워크mockito : 목 라이브러리assertj : 테스트 코드를 좀 더 편하게 작성하게 도와주는 라이브러리spring-test : 스프링 통합 테스트 지원출처 - 인프런 '스프링 입문' 강의