is4xxclientError1 Spring Boot Rest APIs Test Spring Boot REST APIs 테스트 status code content type JSON response body 를 어떻게 테스트 할 수 있을 까 전체코드 @TestPropertySource("/application-test.properties") @AutoConfigureMockMvc @SpringBootTest @Transactional // JPA Entity Manager 사용 public class GradebookControllerTest { private static MockHttpServletRequest request; @PersistenceContext private EntityManager em; @Mock StudentAndGradeService studentAndGra.. 2022. 11. 14. 이전 1 다음