What problem does it solve?
This Skill eliminates the common pain of writing fragmented, low-coverage tests for Spring Boot applications, which leads to fragile code, missed edge cases, and time-consuming debugging of production issues.
Core Features & Use Cases
- Standardized TDD Workflow: Step-by-step red-green-refactor guidance for new features, bug fixes, and refactoring tasks.
- Multi-Layer Test Templates: Pre-built, production-ready patterns for unit tests (JUnit 5 + Mockito), web layer tests (MockMvc), integration tests, and persistence tests (DataJpaTest + Testcontainers).
- Coverage Enforcement: Built-in JaCoCo configuration and CI command snippets to reliably hit 80%+ test coverage thresholds.
Use case: For example, when adding a new REST endpoint for a market service, use this Skill to write failing MockMvc tests first, implement the controller logic, and verify coverage meets team requirements before merging.
Quick Start
Use the springboot-tdd skill to write a failing unit test for a new Spring Boot service method before implementing the method logic.