spring-error-contract-tests
Testing & QualitySigned by SkilVault
Unit-tests Spring @ExceptionHandler and @ControllerAdvice error contracts with standalone MockMvc: dispatch fixtures, HTTP status codes, JSON error bodies, validation field errors, localized messages, logging side effects, and advice selection order. Use when the user asks to "test my ControllerAdvice", "verify error responses", "check exception status codes", or "test validation error payloads". Not for security-filter-chain behavior, full application integration tests, or designing the API's error semantics from scratch.
- Version
- v1.0.1
- Size
- 14 KB
- Updated
- 2026-10-06
$ skilvault read --manual spring-error-contract-testsYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.