java-spring-boot-testing
CommunitySpring Boot testing mastery and examples
Software Engineering#testing#unit-testing#integration-testing#spring-boot#testcontainers#mockito#mockMvc
Authorwesleyegberto
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Complex Spring Boot testing strategies, patterns, and templates are scattered across projects. This Skill consolidates unit, controller, integration, and contract testing guidance with practical examples.
Core Features & Use Cases
- Unit Testing: Mockito-based service and component tests for fast feedback loops.
- Controller & Web Layer Testing: MockMvc slice tests, standalone tests, WebTestClient, and MVC patterns.
- Integration & Contract Testing: End-to-end scenarios using @SpringBootTest, Testcontainers, and Spring Cloud Contract.
- JPA/Data Layer Testing: Repositories verified with @DataJpaTest and TestEntityManager for deterministic data states.
Quick Start
Start by identifying your project's test types and adopt unit, integration, and contract testing patterns described here.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: java-spring-boot-testing Download link: https://github.com/wesleyegberto/software-engineering-skills/archive/main.zip#java-spring-boot-testing 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 471,000+ vetted skills library on demand.