133-java-testing-acceptance-tests

Parse Gherkin feature files and generate RestAssured acceptance test classes.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/shirulot/codex-skill --skill 133-java-testing-acceptance-tests-shirulot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 133-java-testing-acceptance-tests
Source: https://github.com/shirulot/codex-skill/tree/main/133-java-testing-acceptance-tests
Command: npx skills add https://github.com/shirulot/codex-skill --skill 133-java-testing-acceptance-tests-shirulot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rest-assured, testcontainers, wiremock-standalone, and includes references (resource) components.

What problem does it solve?

This skill automates the creation of framework-agnostic Java acceptance tests, bridging the gap between BDD Gherkin feature files and technical implementation to ensure your application meets business requirements.

Core Features & Use Cases

  • Gherkin Integration: Automatically parses .feature files to identify and implement scenarios tagged with @acceptance.
  • Full-Stack Simulation: Orchestrates Testcontainers for databases and Kafka, and WireMock for external REST dependencies.
  • Fluent Assertions: Generates production-ready test code using RestAssured for clean, readable API validation.

Quick Start

Use the 133-java-testing-acceptance-tests skill to generate acceptance tests for the provided feature file in this project.

Frequently Asked Questions about 133-java-testing-acceptance-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Java acceptance tests from Gherkin feature files?

Generating Java acceptance tests from Gherkin feature files involves parsing scenarios tagged with @acceptance and producing RestAssured test classes to validate happy-path API behavior. This skill automates that conversion for framework-agnostic Java projects.

Can I use Testcontainers and WireMock together for Java acceptance testing?

Yes, Java acceptance testing can orchestrate Testcontainers and WireMock together to simulate infrastructure and external REST APIs. This skill uses Testcontainers for databases and Kafka while applying WireMock stubs to isolate service dependencies during validation.

Does this approach work for non-Spring Java projects requiring BDD validation?

Yes, this approach targets non-Spring, Quarkus, or Micronaut Java projects requiring BDD-style validation. It provides framework-agnostic test generation by mapping Gherkin feature files directly to RestAssured assertions without coupling to specific application frameworks.

What is the best way to stub external REST APIs during Java acceptance testing?

Stubbing external REST APIs during Java acceptance testing is handled using WireMock to simulate external service responses. This skill integrates WireMock to ensure comprehensive service testing by isolating the application from unpredictable or unavailable third-party endpoints.

How do I validate happy-path API scenarios using RestAssured in a BDD workflow?

Validating happy-path API scenarios using RestAssured in a BDD workflow requires translating Gherkin steps into fluent HTTP assertions. This skill parses .feature files and generates production-ready RestAssured test code for clean, readable API validation of business requirements.

What are the limitations of framework-agnostic Java acceptance testing?

Framework-agnostic Java acceptance testing focuses on happy-path scenarios and does not natively integrate with Spring, Quarkus, or Micronaut specific test contexts. It relies on Testcontainers and WireMock to manually simulate infrastructure rather than leveraging built-in framework testing utilities.