spring-controller-mockmvc-tests
Testing & QualitySigned by SkilVault
Tests Spring REST controllers in isolation with MockMvc: standalone or @WebMvcTest setup, mocked services, every HTTP verb, JsonPath assertions, validation and error contracts, content negotiation, headers, and multipart uploads. Use when the user asks to "unit test this controller", "write MockMvc tests", "test the API layer with @WebMvcTest", or "cover endpoint status codes and error responses". Not for full integration or end-to-end tests, service-layer business rules, or proof of security behavior.
- Version
- v1.0.1
- Size
- 14 KB
- Updated
- 2026-10-06
$ skilvault read --manual spring-controller-mockmvc-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.