What problem does it solve?
This Skill solves the common pain point of writing Spring Boot code with insufficient test coverage, which leads to fragile applications, difficult refactoring, and frequent production bugs that are costly to fix.
Core Features & Use Cases
- Structured TDD Workflow: Step-by-step red-green-refactor guidance for new features, bug fixes, and code refactors.
- Multi-Layer Test Patterns: Ready-to-use code examples for unit (JUnit 5 + Mockito), web (MockMvc), integration (SpringBootTest), and persistence (DataJpaTest) tests.
- Coverage Enforcement: Pre-configured JaCoCo setup to hit 80%+ unit and integration test coverage targets. Use case: When adding a new REST endpoint for a market data service, use this Skill to write failing tests first, implement the endpoint logic, and verify coverage meets requirements before merging code.
Quick Start
Use the springboot-tdd skill to write a passing unit test for a new Spring Boot service method before implementing the method's core business logic.