generate-bdd-tests
Installation
SKILL.md
BDD Test File Generator
Generate behavior-driven test files that focus on public API and observable behavior.
Quick Start Workflow
- Read the source file to understand what needs to be tested
- Identify the public API - all exported functions, classes, CLI commands
- Check for existing test setup - look for
conftest.py,pyproject.toml, or existing test files - Generate the test file using patterns from
references/patterns.md
Core Principle
Test public API and observable behavior only, never internal implementation:
- CLI Commands: Test user inputs, outputs, exit codes
- Functions/Utilities: Test inputs → outputs, not internal algorithm steps
- Classes: Test public methods and properties