What problem does it solve? Writing thorough tests for Java applications requires knowing the right patterns across multiple frameworks like JUnit 5, Mockito, AssertJ, and Testcontainers, which slows down developers and leads to inconsistent test quality. ## Core Features & Use Cases - Unit Testing with JUnit 5 and Mockito: Create tests using @Mock, @InjectMocks, parameterized tests, and BDD-style stubbing with fluent AssertJ assertions. - Integration Testing: Build Spring Boot integration tests with @SpringBootTest slices, MockMvc for API testing, and Testcontainers for real database testing. - TDD Patterns and Coverage: Apply test data builders, JaCoCo coverage thresholds, and a troubleshooting checklist for common test failures. - Use Case: When adding a new service to a Spring Boot application, use this Skill to generate a complete test suite covering unit tests with mocked repositories, controller tests with MockMvc, and repository tests against a PostgreSQL Testcontainer. ## Quick Start Ask the AI to write unit and integration tests for your Java service class using JUnit 5, Mockito, and Testcontainers.