Test-driven development for Spring Boot using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo. Use when adding features, fixing bugs, or refactoring.
86
66%
Does it follow best practices?
Impact
100%
1.21xAverage score across 6 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./docs/ja-JP/skills/springboot-tdd/SKILL.mdMockito unit test patterns
MockitoExtension
100%
100%
@Mock annotation
100%
100%
@InjectMocks annotation
0%
100%
Arrange-Act-Assert
100%
100%
No partial mocks
100%
100%
Explicit stubbing
100%
100%
@ParameterizedTest usage
0%
100%
AssertJ assertions
0%
100%
assertThatThrownBy for exceptions
0%
100%
Test Data Builder
22%
100%
Behavior not implementation
100%
100%
Fast and isolated
100%
100%
MockMvc and integration test annotations
@WebMvcTest annotation
100%
100%
@MockBean for service
100%
100%
MockMvc injection
100%
100%
jsonPath assertions
100%
100%
HTTP status assertions
100%
100%
@SpringBootTest integration
100%
100%
@AutoConfigureMockMvc
100%
100%
@ActiveProfiles test
100%
100%
AssertJ or jsonPath assertions only
100%
100%
Separate web and integration tests
100%
100%
No Spring context in unit tests
100%
100%
JaCoCo config and Testcontainers persistence tests
JaCoCo plugin present
100%
100%
JaCoCo version 0.8.14
0%
100%
prepare-agent goal
100%
100%
report goal in verify phase
100%
100%
@DataJpaTest annotation
100%
100%
@AutoConfigureTestDatabase(replace=NONE)
100%
100%
Testcontainers container definition
100%
100%
@DynamicPropertySource injection
100%
100%
@Import for container config
100%
100%
AssertJ assertions in persistence tests
100%
100%
mvn verify CI command
100%
100%
No H2 in-memory substitution
100%
100%
5df943e
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.