·unit-test-exception-handler
</>

unit-test-exception-handler

전역 예외 처리를 위한 @ExceptionHandler 및 @ControllerAdvice 단위 테스트용 패턴을 제공합니다. 오류 응답 형식 및 HTTP 상태 코드를 확인할 때 사용합니다.

283설치·2트렌드·@giuseppe-trisciuoglio

설치

$npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-exception-handler

unit-test-exception-handler 설치 방법

명령줄에서 unit-test-exception-handler AI 스킬을 개발 환경에 빠르게 설치

  1. 터미널 열기: 터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다
  2. 설치 명령어 실행: 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-exception-handler
  3. 설치 확인: 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

출처: giuseppe-trisciuoglio/developer-kit.

This skill provides patterns for unit testing @ExceptionHandler methods and @ControllerAdvice classes using MockMvc. It covers testing exception-to-error-response transformations, HTTP status codes, error message formatting, validation error handling, and custom permission evaluators without full integration test overhead.

Exception handler not invoked: Ensure controller is registered with MockMvc and actually throws the exception.

JsonPath matchers not matching: Use .andDo(print()) to see actual response structure.

전역 예외 처리를 위한 @ExceptionHandler 및 @ControllerAdvice 단위 테스트용 패턴을 제공합니다. 오류 응답 형식 및 HTTP 상태 코드를 확인할 때 사용합니다. 출처: giuseppe-trisciuoglio/developer-kit.

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-exception-handler
카테고리
</>개발 도구
인증됨
최초 등록
2026-02-19
업데이트
2026-03-10

Browse more skills from giuseppe-trisciuoglio/developer-kit

빠른 답변

unit-test-exception-handler이란?

전역 예외 처리를 위한 @ExceptionHandler 및 @ControllerAdvice 단위 테스트용 패턴을 제공합니다. 오류 응답 형식 및 HTTP 상태 코드를 확인할 때 사용합니다. 출처: giuseppe-trisciuoglio/developer-kit.

unit-test-exception-handler 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-exception-handler 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

소스 저장소는 어디인가요?

https://github.com/giuseppe-trisciuoglio/developer-kit