133-java-testing-acceptance-tests

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

A skill for turning Gherkin feature files into Java acceptance tests. Gherkin is a plain-language format for describing software behavior with Given, When, and Then steps.

In plain words
What is it for?
Use it when a framework-independent Java project has acceptance scenarios, to create tests with RestAssured, Testcontainers, and WireMock. It does not cover Spring Boot, Quarkus, or Micronaut projects.
Why use it?
It provides a defined way to implement happy-path tests for REST APIs and services without having to translate each scenario by hand.

Skill for Claude CodeCodex

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

Good fit Use it when a framework-independent Java project has acceptance scenarios, to create tests with RestAssured, Testcontainers, and WireMock. It does not cover Spring Boot, Quarkus, or Micronaut projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jabrena/cursor-rules-examples/133-java-testing-acceptance-tests
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.

Any agent
npx skills add jabrena/cursor-rules-examples --skill 133-java-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 133-java-testing-acceptance-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/jabrena/cursor-rules-examples/133-java-testing-acceptance-tests/github.svg)](https://agentmods.dev/skills/jabrena/cursor-rules-examples/133-java-testing-acceptance-tests)
Your own site
<a href="https://agentmods.dev/skills/jabrena/cursor-rules-examples/133-java-testing-acceptance-tests"><img src="https://agentmods.dev/badge/skills/jabrena/cursor-rules-examples/133-java-testing-acceptance-tests/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 133-java-testing-acceptance-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/jabrena/cursor-rules-examples/133-java-testing-acceptance-tests"><img src="https://agentmods.dev/badge/skills/jabrena/cursor-rules-examples/133-java-testing-acceptance-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 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. A grade says what 26 rules found in the file — not that it is safe.
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.00084 $0.00626
Opus 5.5 $0.00034 $0.00250
Sonnet 5.5 $0.00017 $0.00125
Haiku 4.5 $0.00008 $0.00063

Measured 1mo ago against content hash 7c8ed165bb29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

133-java-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 1mo 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/133-java-testing-acceptance-tests/SKILL.md · 46 lines

How it starts

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

Java acceptance tests from Gherkin

Implement acceptance tests from Gherkin feature files. Given a .feature file in context, find @acceptance-tagged scenarios and implement happy-path tests with 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)
  • 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 @BeforeAll coordinate propagation via System.setProperty
  • Given-When-Then structure mapping Gherkin steps to setup, request, and assertions
  • Maven dependencies: rest-assured, testcontainers, wiremock-standalone

Preconditions: (1) The Gherkin .feature file must be in context. (2) The project must NOT use Spring Boot, Quarkus, or Micronaut — for those frameworks, use @323-frameworks-spring-boot-testing-acceptance-tests or framework-specific rules.

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 NOT use Spring Boot, Quarkus, or Micronaut
  • 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 acceptance tests
  • Apply best practices for acceptance tests in Java code

Read the full file on GitHub · 46 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. 1mo ago First seen · 46 lines · 84 tokens per session scan A 7c8ed165bb29

Subscribe to this mod's changes

133-java-testing-acceptance-tests is a skill published in the GitHub repository jabrena/cursor-rules-examples (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 84 tokens to every session and 626 once invoked, about $0.0003 per session on Opus 5.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

screen-reader-testing

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

wshobson/agents · 39 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

e2e-testing-patterns

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

wshobson/agents · 51 tokens

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