junit jvm (1) 썸네일형 리스트형 Junit VM Options @SpringBootTest 어노테이션에 properties 옵션을 추가 @SpringBootTest(properties = { "server.port=8080", "spring.profiles.active=local" }) OR 테스트 전용 어노테이션을 테스트 폴더에 생성 import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.TestConstructor; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import.. 이전 1 다음