spring-tdd-mockito
CommunityDrive Spring Boot tests with Mockito-driven TDD.
Authormduongvandinh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps developers ensure Spring Boot code quality by applying Test-Driven Development with Mockito, enabling writing tests first and validating design before implementation.
Core Features & Use Cases
- TDD workflow guidance: Red-Green-Refactor cycle for Spring Boot components.
- Mockito integration: Annotations like @Mock, @InjectMocks, @Spy, and @Captor for clean test setup.
- Test skeleton templates: Ready-to-use JUnit 5 test classes for services, controllers, and repositories.
Quick Start
Use this skill to scaffold and run a basic Mockito-based unit test in a Spring Boot project. Example prompt: "Create a Spring Boot unit test for ServiceX that mocks RepositoryY and asserts expected interactions."
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: spring-tdd-mockito Download link: https://github.com/mduongvandinh/skills-java-spring/archive/main.zip#spring-tdd-mockito Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.