springboot-tdd - Spring Boot TDD Workflow
Test-driven development guidance for Spring Boot services using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write unit tests using Mockito
- Write web layer tests with MockMvc
- Write integration tests with SpringBootTest
- Write persistence tests with DataJpaTest
- Configure Testcontainers for integration tests
- Enforce test coverage with JaCoCo
Inputs
- Spring Boot code
- Feature or bug specifications
- Maven or Gradle build configuration
Outputs
- Test suites
- JaCoCo coverage reports
Requirements
- Spring Boot
- JUnit 5
- Mockito
- MockMvc
- Testcontainers
- JaCoCo
- Maven or Gradle
