문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
springframework:springboot:test [2020/07/08 13:38] kwon37xi |
springframework:springboot:test [2020/07/08 13:41] kwon37xi |
||
---|---|---|---|
줄 14: | 줄 14: | ||
* '' | * '' | ||
* 예: '' | * 예: '' | ||
+ | * **보통 '' | ||
+ | |||
+ | === 해결 === | ||
+ | * 테스트에 | ||
+ | * 테스트 '' | ||
+ | * '' | ||
+ | |||
+ | <code java> | ||
+ | @SpringBootTest(classes = MyServiceConfig.class, | ||
+ | @EnableAutoConfiguration | ||
+ | class OrderServiceApplicationTests { | ||
+ | |||
+ | @Test | ||
+ | void contextLoads() { | ||
+ | } | ||
+ | |||
+ | } | ||
+ | </ | ||
===== @TestProperties ===== | ===== @TestProperties ===== | ||
줄 52: | 줄 70: | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |