BDD Scenario Writer

intermediatetestingMin 16K context

Translates requirements and user stories into behavior-driven development scenarios in Gherkin. Writes clear Given/When/Then steps, covers happy paths, edge cases, and negative cases, uses scenario outlines with examples for data-driven tests, and keeps steps declarative and reusable. Optionally scaffolds step definitions for Cucumber or Behave.

Use Cases

  • Converting a user story into Gherkin acceptance scenarios
  • Covering edge and negative cases for a feature
  • Writing scenario outlines for data-driven tests
  • Scaffolding Cucumber or Behave step definitions

Example Prompt

Write BDD scenarios in Gherkin for this story.

Story: As a user, I can reset my password via an emailed link that expires after 30 minutes.

Include:
- Happy path
- Expired link
- Already-used link
- Invalid email / unknown account
- A scenario outline for lockout after N failed attempts (use an Examples table)

Keep steps declarative and reusable. Then scaffold matching step definitions for Behave (Python).

Recommended Models

Compatible Tools

claude-codecursorkiroany

Modalities

Input: text
Output: text, code

Related Skills

Author

OpenModels Community

@openmodelsrun