@miiiinju 개발 블로그

@miiiinju 개발 블로그

  • 분류 전체보기
    • Computer Science
    • Backend
      • Spring
      • Spring Security
      • JPA
      • Redis
      • Docker
      • AWS
      • Java
    • PS
      • Baekjoon
      • Programmers
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

@miiiinju 개발 블로그

컨텐츠 검색

태그

최근글

댓글

공지사항

아카이브

Backend/Spring Security(1)

  • @WebMvcTest를 이용한 Controller 테스트 시 Spring Security에 대해서

    @WebMvcTest는 컨트롤러 레이어의 테스트를 위한 어노테이션입니다. Using this annotation will disable full auto-configuration and instead apply only configuration relevant to MVC tests (i.e. @Controller, @ControllerAdvice, @JsonComponent, Converter/GenericConverter, Filter, WebMvcConfigurer and HandlerMethodArgumentResolver beans but not @Component, @Service or @Repository beans) 따라서 WebMvcTest는 Spring 전체 컨텍스트를 로드하지 않고 M..

    2024.04.21
이전
1
다음
티스토리 깃허브

티스토리툴바