Agent Skills: unit-test-exception-handler

Provides patterns for unit testing `@ExceptionHandler` and `@ControllerAdvice` in Spring Boot applications. Validates error response formatting, mocks exceptions, verifies HTTP status codes, tests field-level validation errors, and asserts custom error payloads. Use when writing Spring exception handler tests, REST API error tests, or mocking controller advice.

UncategorizedID: giuseppe-trisciuoglio/developer-kit/unit-test-exception-handler

Install this agent skill to your local

pnpm dlx add-skill https://github.com/giuseppe-trisciuoglio/developer-kit/unit-test-exception-handler

Skill Files

Browse the full folder contents for unit-test-exception-handler.

Download Skill

Loading file tree…

Select a file to preview its contents.