qa-spring-test-writer
Installation
SKILL.md
QA Spring Test Writer
Purpose
Write Spring Boot integration tests from test case specifications. Transform structured test cases into executable Spring test files with @SpringBootTest, MockMvc for REST controller testing, TestContainers for database integration, @DataJpaTest for repository testing, and WebTestClient for WebFlux.
Trigger Phrases
- "Write Spring Boot integration tests for [feature]"
- "Generate MockMvc tests for [controller]"
- "Create TestContainers tests for [entity/repository]"
- "Add @DataJpaTest for [repository]"
- "Spring Boot integration tests with MockMvc"
- "WebTestClient tests for WebFlux [endpoint]"
- "Spring integration tests with TestContainers"
- "MockMvc tests with @MockBean"