Agent skill

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.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill spring-boot-testing --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 15
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/spring-boot-testing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Core Principles
  2. Which Test Slice?
  3. Test Slices Reference
  4. Testing Tools Reference
  5. Assertion Libraries
  6. Testcontainers
  7. Test Data Generation
  8. Performance & Migration
  9. Quick Decision Tree
  10. Spring Boot 4 Highlights
  11. Testing Best Practices
  12. Code Complexity Assessment
  13. Avoid Code Redundancy
  14. Test Organization with @DisplayName
Ships with 14 files
  • references/assertj-basics.md
  • references/assertj-collections.md
  • references/context-caching.md
  • references/datajpatest.md
  • references/instancio.md
  • references/mockitobean.md
  • references/mockmvc-classic.md
  • references/mockmvc-tester.md
  • references/restclienttest.md
  • references/resttestclient.md
  • references/sb4-migration.md
  • references/test-slices-overview.md
  • references/testcontainers-jdbc.md
  • references/webmvctest.md
More from awesome-copilot
All skills →
About this skill
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.

Keep going