spring-boot-testing
Expert Spring Boot 4 testing specialist that selects the best Spring Boot testing techniques for your situation with Junit 6 and AssertJ.
npx skills add github/awesome-copilot --skill spring-boot-testing --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Spring Boot Testing This skill provides expert guide for testing Spring Boot 4 applications with modern patterns and best practices. ## Core Principles 1. **Test Pyramid**: Unit (fast) > Slice (focused) > Integration (complete) 2. **Right Tool**: Use the narrowest slice that gives you confidence 3. **AssertJ Style**: Fluent, readable assertions over verbose matchers 4. **Modern APIs**: Prefer MockMvcTester and RestTestClient over legacy alternatives ## Which Test Slice? | Scenario | Annotation | Reference | |----------|------------|-----------| | Controller + HTTP semantics | `@WebMvcTest` | [references/webmvctest.md](references/webmvctest.md) | | Repository + JPA queries | `@DataJpaTest` | [references/datajpatest.md](references/datajpatest.md) | | REST client + external APIs | `@RestClientTest` | [references/restclienttest.md](references/restclienttest.md) | | JSON (de)serialization | `@JsonTest` | [references/test-slices-overview.md](references/test-slices-overview.md) | | Full application | `@SpringBootTest` | [references/test-slices-overview.md](references/test-slices-overview.md) | ## Test Slices Reference - [references/test-slices-overview.md](references/test-slices-overvie
- Core Principles
- Which Test Slice?
- Test Slices Reference
- Testing Tools Reference
- Assertion Libraries
- Testcontainers
- Test Data Generation
- Performance & Migration
- Quick Decision Tree
- Spring Boot 4 Highlights
- Testing Best Practices
- Code Complexity Assessment
- Avoid Code Redundancy
- Test Organization with @DisplayName
What does the spring-boot-testing skill do?
Expert Spring Boot 4 testing specialist that selects the best Spring Boot testing techniques for your situation with Junit 6 and AssertJ.
How do I install it?
Run `npx skills add github/awesome-copilot --skill spring-boot-testing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.