tdd-bdd-gherkin
Installation
SKILL.md
BDD & Gherkin
Behavior-Driven Development (BDD) encourages collaboration between developers, QA, and non-technical stakeholders.
Gherkin Syntax
Tests are written in plain English using the Given, When, Then format:
- Scenario: A specific behavior being tested.
- Given: The initial context or state.
- When: An event or action occurs.
- Then: The expected outcome or consequence.
Example Feature File
Feature: User Login