unit-test-controller-layer

SKILLWorkflowcommunity
v0.0.0giuseppe-trisciuoglioMITUpdated 1mo agoSource →

Provides patterns for unit testing REST controllers using MockMvc and @WebMvcTest. Generates controller tests that validates request/response mapping, validation, exception handling, and HTTP status codes. Use when testing web layer endpoints in isolation for API endpoint testing, Spring MVC tests,

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
329Repo stars
1Clients
1Formats
1mo agoLast update
Skill
Authorgiuseppe-trisciuoglio
Version0.0.0
LicenseMIT
CategoryWorkflow
Formatsskill.md
PromptNot published
Compatibility
Claude✓ Supported
Cursor
Copilot
ChatGPT
Gemini
About

Provides patterns for unit testing REST controllers using MockMvc and @WebMvcTest. Generates controller tests that validates request/response mapping, validation, exception handling, and HTTP status codes. Use when testing web layer endpoints in isolation for API endpoint testing, Spring MVC tests, mock HTTP requests, or controller layer unit tests.

Keywords
skillclaude