add-acceptance-testing

Community

Add customer-visible Cucumber acceptance tests

Authordprice-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It eliminates the need to manually wire and maintain an acceptance-testing layer by automatically adding a Cucumber/BDD suite that runs real Spring Boot 4 application behavior in Given/When/Then form.

Core Features & Use Cases

  • Acceptance test source set: Creates an acceptanceTest source set with correct classpaths and Gradle configurations.
  • Cucumber + Spring wiring: Adds pinned Cucumber dependencies, a Spring test bridge, and a JUnit Platform suite runner suitable for BDD feature execution.
  • Seed scenario and step state pattern: Generates a health endpoint feature, baseline step definitions, shared “World” state to avoid duplicate steps, and Cucumber properties for stable publishing behavior.
  • Lifecycle integration: Registers an acceptanceTest task, hooks it into tasks.check, and updates JaCoCo reporting so the acceptance layer is included in verification.

Quick Start

Add the Cucumber/BDD acceptance test layer to your Spring Boot 4 project when you need a customer-visible Given/When/Then verification of real endpoints such as health.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-acceptance-testing
Download link: https://github.com/dprice-dev/claude-java-skills/archive/main.zip#add-acceptance-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.