728x90 통합 Test1 Spring boot 통합 Test @SpringBootTest > @SpringBootApplication을 찾아가서 모든 BeanScan진행 @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK) * junit4 기준 @RunWith와 같이 사용해야함 참고 : https://developing-countries.tistory.com/50?category=1023056 org.junit.runners.model.InvalidTestClassError org.junit.runners.model.InvalidTestClassError: Invalid test class 'com.example.studyspringboot.S.. 2022. 2. 20. 이전 1 다음 728x90