Spring boot testing

From HoangNguyen0403/agent-skills-standard · View interactive version

Spring boot testing is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Write unit, integration, and slice tests for Spring Boot 3 applications. Use when writing unit tests, integration tests, or slice tests for Spring Boot 3 applications.

How to use this skill

Skill file

Spring Boot Testing Standards

**Priority: P0 (CRITICAL)**

Universal anti-slop rules (identity fixtures, tautologies, skip/focus, mock echoing, bug-first lock, sleeps, shallow

assertions, coverage): anti-slop-rules.md. Only Spring deltas

follow.

TDD Workflow

  1. Red: write the failing test (e.g., returns 404).
  2. Green: implement minimal code to pass.
  3. Refactor: clean up while tests stay green.
  4. Coverage: diagnostic and project-configured; verify risk-weighted critical paths.

Slice And Integration Deltas

@MockBean.

mere existence.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.