writing-springboot-tests SKILL.md skillA

writing-springboot-tests from a-pavithraa/springboot-skills-marketplace is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add a-pavithraa/springboot-skills-marketplace/writing-springboot-tests@git:20261026.1ba1737

Pins git:20261026.1ba1737 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
a-pavithraa/springboot-skills-marketplace
Path
plugins/springboot-architecture/skills/writing-springboot-tests/SKILL.md
Versions recorded
5
Latest version
git:20261026.1ba1737, committed Oct 26, 2026
First version recorded
Oct 22, 2026
Size
6,078 bytes
Repository stars
80
License
MIT

Use when writing or adding tests for Spring Boot code at a service's edges: HTTP clients that call other services (WireMock: 4xx and 5xx responses, timeouts, retries), Kafka or RabbitMQ listeners (redelivery, poison messages, dead-letter topics), events published to other services, or full-API tests against real databases with Testcontainers; also when a Boot 4 test needs the right imports, slices or container wiring. Supplies verified Boot 4.1 templates and the framework traps that make such…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Writing Spring Boot Tests

Use this for tests where the framework, not the logic, decides whether the test proves anything: calls and messages between services, retries, timeouts, transactions, and Boot 4 test wiring. For plain unit tests you need nothing here beyond the three rules.

## Rules

1. **Cases come from the contract, clause by clause.** Every sentence of the Javadoc, the provider's API documentation, or an agreed message format is a case: units and formats (cents or decimals, field names), status codes with a special meaning (a 409 that means "already done"), headers, time limits, delivery promises (once only, after commit, poison messages dead-lettered). Call the code the way its callers do, with their values, so conversions run.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add a-pavithraa/springboot-skills-marketplace/writing-springboot-tests@sha256:1bba5f52ec869bd2

The line at the top of this page pins the label git:20261026.1ba1737, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ke7yaun4wemkgygc.svg)](https://markdownregistry.com/a/art_ke7yaun4wemkgygc)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Oct 22, 2026 and Oct 26, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261026.1ba1737 latest2026-10-26 1ba1737 6,078 BA view · diff
git:20261025.21a944a2026-10-25 21a944a 5,304 BA view · diff
git:20261025.7c5506a2026-10-25 7c5506a 3,615 BA view · diff
git:20261023.693f1e02026-10-23 693f1e0 3,485 BA view · diff
git:20261022.cc961172026-10-22 cc96117 3,822 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6078 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

a-pavithraa/springboot-skills-marketplace · 80 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ke7yaun4wemkgygc
GET https://markdownregistry.com/api/v1/resolve?ref=a-pavithraa/springboot-skills-marketplace/writing-springboot-tests
GET https://markdownregistry.com/api/v1/blob/1bba5f52ec869bd2483971d5bc8079e1e6c41abb9087e7e88e1267cfc382ccd5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from a-pavithraa/springboot-skills-marketplace

code-reviewer SKILL.md skill
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/code-reviewer/SKILL.md · Use when asked to review, check or diagnose Spring Boot code: a pull request, diff, module or file before it merges; a…
git:20261026.51fedec · audit A · 80 stars
creating-springboot-projects SKILL.md skill
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/creating-springboot-projects/SKILL.md · Use when starting a new Spring Boot project or service: scaffolding or bootstrapping a backend, REST API, microservice…
git:20261101.43ef902 · audit A · 80 stars
spring-boot-team-harness SKILL.md skill
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/spring-boot-team-harness/SKILL.md · Use when a team wants every developer's coding agent (Claude Code or Codex) to follow the same rules on a Maven Spring…
git:20261102.7178da4 · audit A · 80 stars
add-module SKILL.md skill
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/spring-boot-team-harness/assets/project-skills/add-module/SKILL.md · Adds a new application module to this Spring Modulith project with the package layout the ModuleBoundariesTests gate…
git:20261023.b8e5633 · audit A · 80 stars
db-migration SKILL.md skill
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/spring-boot-team-harness/assets/project-skills/db-migration/SKILL.md · Writes a Flyway database migration for this project following the team's rules for naming, editing and renaming, so…
git:20261023.b8e5633 · audit A · 80 stars
AGENTS.md@plugins/springboot-architecture/skills/spring-boot-team-harness/assets/project AGENTS.md file
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/spring-boot-team-harness/assets/project/AGENTS.md
git:20261101.5841f4d · audit A · 80 stars
CLAUDE.md@plugins/springboot-architecture/skills/spring-boot-team-harness/assets/project CLAUDE.md file
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/spring-boot-team-harness/assets/project/CLAUDE.md
git:20261023.b8e5633 · audit B · 80 stars
springboot-migration SKILL.md skill
a-pavithraa/springboot-skills-marketplace · plugins/springboot-architecture/skills/springboot-migration/SKILL.md · Use when upgrading an existing Spring Boot application, for example from Boot 3.x to Boot 4 or to the latest Spring…
git:20261025.21a944a · audit A · 80 stars

Every file in a-pavithraa/springboot-skills-marketplace

Browse by kind, by grade A, or by owner.