bdd-gherkin-testing
Installation
SKILL.md
BDD & Gherkin
BDD is a collaboration practice first, a test tool second. Feature files are executable specifications that product, dev and QA agree on before coding (the "three amigos").
Discovery: Example Mapping (25 min per story)
Cards: Story (yellow) → Rules (blue) → Examples (green) → Questions (red). If red cards outnumber green, the story is not ready. Each green card becomes one scenario.
Write declarative, not imperative
# BAD — imperative, UI-coupled, brittle
Scenario: Login
Given I open "https://app.test/login"
When I type "ann@x.com" into "#email"
And I click "#submit"
Then I see the element ".dashboard"
# GOOD — declarative, business language
Feature: Account access
Rule: Locked accounts cannot sign in