generate-acceptance-test

Generate and update ezSpec .feature files from YAML acceptance specs.

2|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/knowlet/skills --skill generate-acceptance-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-acceptance-test
Source: https://github.com/knowlet/skills/tree/main/skills/generate-acceptance-test
Command: npx skills add https://github.com/knowlet/skills --skill generate-acceptance-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill generates acceptance tests from the YAML specs and acceptance_criteria to ensure tests stay in sync with requirements and specifications.

Core Features & Use Cases

  • Parse acceptance criteria: extract scenarios from specs.
  • Test skeleton generation: create BDD/ezSpec style test skeletons for Java/JUnit/Cucumber or equivalents.
  • Sync & validation: detect gaps between spec and tests.

Quick Start

After analyze-frame outputs a spec with acceptance criteria, run this Skill to generate the test skeletons under tests/acceptance for the chosen language.

Frequently Asked Questions about generate-acceptance-test

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

FAQPage Schema
How do I generate acceptance tests from YAML specifications?

Generate acceptance tests by parsing your acceptance.yaml file to produce Gherkin-based .feature files. The Skill extracts scenarios from specs and creates BDD test skeletons aligned with your acceptance criteria, maintaining traceability to requirements across happy-path, error-case, and edge-case scenarios.

Can I keep my BDD tests synchronized with specification changes?

Yes. This Skill detects gaps between specifications and tests, automatically updating .feature files when acceptance.yaml changes. It ensures your tests remain in sync with requirements and maintains executable documentation throughout the development lifecycle.

What's the workflow for converting acceptance criteria into test skeletons?

After your analysis phase outputs a spec with acceptance criteria, run this Skill to parse acceptance.yaml and generate test skeletons under tests/acceptance. It creates ezSpec .feature files structured for your chosen language—Java, JUnit, Cucumber, or equivalents—ready for test implementation.

Does this work with documentation-driven feature development?

Yes. This Skill is designed for documentation-driven workloads under docs/specs/{feature-name}/acceptance. It parses specs, generates tests, and maintains traceable links between Frame Concerns and test scenarios, ensuring specifications drive executable acceptance tests.

How do I ensure traceability between tests and Frame Concerns?

The Skill maintains traceable links to Frame Concerns across all test scenario types—happy-path, error-case, edge-case, and test-data scenarios. Each generated .feature file preserves the connection between acceptance criteria and Frame Concerns, enabling full end-to-end specification traceability.