generate-bdd-tests

Convert acceptance criteria into executable BDD test scaffolding for Go or Java.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/gr8routdoors/lit-sdlc --skill generate-bdd-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-bdd-tests
Source: https://github.com/gr8routdoors/lit-sdlc/tree/main/.claude/skills/agent-os/generate-bdd-tests
Command: npx skills add https://github.com/gr8routdoors/lit-sdlc --skill generate-bdd-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Transforms acceptance criteria into executable BDD test scaffolding for Go (spec + testify) or Java (Spock).

Core Features & Use Cases

  • Detect Target Language
  • Load ACs and Standards
  • Map ACs to Test Structure (Go and Java)
  • Generate Test Files
  • Determine Output Location
  • Generate and Present

Quick Start

Provide your ACs under specs/SPEC-001-acs or specify the target language, and I will generate Go or Java BDD test scaffolds.

Frequently Asked Questions about generate-bdd-tests

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

FAQPage Schema
How do I generate BDD test scaffolding from acceptance criteria in Go?

To generate BDD test scaffolding from acceptance criteria in Go, provide your ACs under the specs/SPEC-*/acs directory. The system maps AC elements to test structures and outputs executable Go test files using spec and testify.

Can I create Spock framework tests from acceptance criteria for Java?

Yes, you can create Spock framework tests from acceptance criteria for Java. The system detects the target language and generates Java Spock specs in Groovy, outputting files named {Capability}Spec.groovy based on your loaded ACs.

How does mapping acceptance criteria to test structures work?

Mapping acceptance criteria to test structures works by loading ACs from your specs directory, detecting target language standards, and translating AC elements into executable BDD test formats. It generates template files like {Capability}_test.go for Go.

Do I need to specify the target language to generate BDD tests?

You do not strictly need to specify the target language to generate BDD tests. The system can detect the target language automatically using your project standards, though you can explicitly specify it to ensure Go or Java Spock output.

What is the best way to automate BDD test file generation for multiple capabilities?

The best way to automate BDD test file generation for multiple capabilities is to place all acceptance criteria under the specs/SPEC-*/acs directory. The system reads these ACs, maps them to test structures, and generates corresponding Go or Java files automatically.

Does BDD scaffolding work with both testify and Spock frameworks?

BDD scaffolding works with both testify and Spock frameworks. It transforms your acceptance criteria into executable Go test files using spec and testify, or Java Spock specs in Groovy, depending on the detected target language.