[springboot] junit4 + controller test [mockMvc]
gradle 기본셋팅 후 webcontroller 생성@RestController public class WebController { @GetMapping public String test() { return "hello"; } } test code 작성import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; import org.s..