323-frameworks-spring-boot-testing-acceptance-tests

323-frameworks-spring-boot-testing-acceptance-tests is a skill for Claude Code, Codex from jabrena/cursor-rules-examples. It costs 79 tokens per session (626 once invoked), scanned A, original, Apache-2.0.

A guide for writing Spring Boot acceptance tests from Gherkin feature files. Gherkin is a readable Given-When-Then format for describing expected behavior, while acceptance tests check that an application works from an outside user's viewpoint.

In plain words
What is it for?
Finding acceptance scenarios, testing Spring Boot REST endpoints with RestAssured, starting test databases or Kafka with Testcontainers, and replacing external REST services with WireMock during tests.
Why use it?
It turns existing behavior scenarios into runnable tests without requiring the developer to design the test structure from scratch. The tests can exercise the real web application and its database, message broker, or external APIs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jabrena/cursor-rules-examples/323-frameworks-spring-boot-testing-acceptance-tests
Any agent
npx skills add jabrena/cursor-rules-examples --skill 323-frameworks-spring-boot-testing-acceptance-tests
Clone the repo
git clone --depth 1 https://github.com/jabrena/cursor-rules-examples

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 323-frameworks-spring-boot-testing-acceptance-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/jabrena/cursor-rules-examples/323-frameworks-spring-boot-testing-acceptance-tests.svg)](https://agentmods.dev/skills/jabrena/cursor-rules-examples/323-frameworks-spring-boot-testing-acceptance-tests)
Your own site
<a href="https://agentmods.dev/skills/jabrena/cursor-rules-examples/323-frameworks-spring-boot-testing-acceptance-tests"><img src="https://agentmods.dev/badge/skills/jabrena/cursor-rules-examples/323-frameworks-spring-boot-testing-acceptance-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.00626
Opus 5 $0.00039 $0.00313
Sonnet 5 $0.00016 $0.00125
Haiku 4.5 $0.00008 $0.00063

Measured 5d ago against content hash 71949fb1fc10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

323-frameworks-spring-boot-testing-acceptance-tests scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/323-frameworks-spring-boot-testing-acceptance-tests/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spring Boot acceptance tests from Gherkin

Implement acceptance tests from Gherkin feature files in Spring Boot projects. Given a .feature file in context, find @acceptance-tagged scenarios and implement happy-path tests with @SpringBootTest, RestAssured, Testcontainers, and WireMock.

What is covered in this Skill?

  • Parse Gherkin .feature files to find scenarios tagged @acceptance or @acceptance-tests
  • Implement happy-path acceptance tests (one test per scenario)
  • @SpringBootTest(webEnvironment = RANDOM_PORT), @LocalServerPort
  • @DynamicPropertySource for Testcontainers and WireMock coordinates
  • RestAssured for REST API testing (given/when/then, status codes, JSON body assertions)
  • Testcontainers for databases (PostgreSQL, etc.) and Kafka
  • WireMock for stubbing external REST APIs
  • BaseAcceptanceTest base class with Spring Boot test utilities
  • Given-When-Then structure mapping Gherkin steps to setup, request, and assertions

Preconditions: (1) The Gherkin .feature file must be in context. (2) The project must use Spring Boot. For framework-agnostic Java, use @133-java-testing-acceptance-tests.

Scope: Implements only happy-path scenarios. Use the reference for detailed examples and constraints.

Constraints

Before applying any acceptance test changes, ensure the Gherkin .feature file is in context and the project compiles. If compilation fails or the feature file is missing, stop immediately.

  • PRECONDITION: The Gherkin .feature file MUST be in context; the project MUST use Spring Boot
  • MANDATORY: Run ./mvnw compile or mvn compile before applying any change
  • SAFETY: If compilation fails, stop immediately and do not proceed
  • VERIFY: Run ./mvnw clean verify or mvn clean verify after applying improvements
  • BEFORE APPLYING: Read the reference for detailed examples, good/bad patterns, and constraints

When to use this skill

  • Review Java code for Spring Boot acceptance tests
  • Apply best practices for Spring Boot acceptance tests in Java code

Read the full file on GitHub · 47 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 47 lines · 79 tokens per session scan A 71949fb1fc10

Subscribe to this mod's changes

323-frameworks-spring-boot-testing-acceptance-tests is a skill published in the GitHub repository jabrena/cursor-rules-examples (2 stars, last pushed 10d ago), licensed Apache-2.0. It adds 79 tokens to every session and 626 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

Codeception Testing

Expert-level Codeception testing skill for PHP applications. Covers acceptance, functional, and unit testing with the Actor pattern, BDD-style syntax, Page Objects, API testing, and database helpers.

PramodDutta/qaskills · 42 tokens

Laravel Dusk Testing

Expert-level Laravel Dusk browser testing skill for PHP/Laravel applications. Covers Chrome-based E2E testing, browser assertions, Page Objects, component testing, authentication helpers, and database integration.

PramodDutta/qaskills · 44 tokens

JMeter Load Testing

Load and performance testing skill using Apache JMeter, covering test plans, thread groups, assertions, listeners, timers, and distributed testing.

PramodDutta/qaskills · 32 tokens

133-java-testing-acceptance-tests

Use when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for framework-agnostic Java (no Spring Boot, Quarkus, Micronaut) — confirming @acceptance scenarios before coding, happy path with RestAssured, DB/Kafka test fixtures, WireMock for external REST only, and AT classes run by…

jabrena/plinth · 142 tokens

132-java-testing-integration-testing

Use when you need to set up, review, or improve Java integration tests — including generating a BaseIntegrationTest.java with WireMock for HTTP stubs, detecting HTTP client infrastructure from import signals, injecting service coordinates dynamically via System.setProperty(), creating WireMock JSON mapping files with…

jabrena/plinth · 155 tokens

422-frameworks-quarkus-testing-integration-tests

Use when you need to write or improve integration tests for Quarkus — including @QuarkusTest, Dev Services for automatic container provisioning, Testcontainers via QuarkusTestResourceLifecycleManager, WireMock for external HTTP stubs, @QuarkusIntegrationTest for black-box testing against packaged artifacts, REST…

jabrena/plinth · 190 tokens