unit-test-exception-handler
CommunityExceptionHandler tests for global error mapping.
Authorgiuseppe-trisciuoglio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Ensures global error handling consistently maps exceptions to HTTP status codes and standardized error responses.
Core Features & Use Cases
- Validate @ExceptionHandler and @ControllerAdvice error mappings.
- Verify error response structure and HTTP status codes for different exceptions.
- Fast, isolated tests without requiring the full application context.
Quick Start
Create MockMvc tests that exercise GlobalExceptionHandler with a simple controller that throws exceptions, asserting status and error fields.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unit-test-exception-handler Download link: https://github.com/giuseppe-trisciuoglio/developer-kit/archive/main.zip#unit-test-exception-handler Please download this .zip file, extract it, and install it in the .claude/skills/ directory.