Spring/spring Issue
test 코드 repository test 중JPA repository.save is Null (NullPointerException)
whyWhale
2021. 2. 9. 23:19
@RunWith(SpringRunner.class) // JUnit 프레임워크가 테스트를 실행할 시 내장된 Runner를 실행한다.
@SpringBootTest // 통합 테스트를 제공하는 기본적인 어노테이션
crud 에 대한 것이 잘 돌아간다.