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.

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

Install this agent skill to your local

npx skills add giuseppe-trisciuoglio/developer-kit --skill unit-test-exception-handler

Skill Files

The files that make up unit-test-exception-handler.

Download Skill

More agent skills