write-bdd-feature

Draft BDD feature files and step definitions using Gherkin and Cucumber.js conventions.

53|68|Updated Jan 5, 2021
One-click install
npx skills add https://github.com/tmforum-oda/oda-canvas --skill write-bdd-feature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-bdd-feature
Source: https://github.com/tmforum-oda/oda-canvas/tree/main/skills/write-bdd-feature
Command: npx skills add https://github.com/tmforum-oda/oda-canvas --skill write-bdd-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing consistent BDD feature files and step definitions for the ODA Canvas test kit, ensuring reusable patterns and proper documentation.

Core Features & Use Cases

  • Standardized Gherkin conventions and UC/F naming templates for ODA Canvas features.
  • Reusable step-definition templates and patterns to accelerate test creation.
  • Clear workflow guidance from feature creation to README catalog updates.

Quick Start

Create a new UC/F feature using the UC/F naming pattern and implement it with the provided templates and utilities.

Frequently Asked Questions about write-bdd-feature

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

FAQPage Schema
How do I write BDD feature files for component testing?

To write BDD feature files, draft Gherkin scenarios using UC/F structured naming patterns, applying optional backgrounds and example tables to cover common workflows and edge cases in component testing.

What are the Gherkin conventions for ODA Canvas test kit scenarios?

Gherkin conventions for ODA Canvas scenarios require consistent headers, tags, and structured UC/F naming templates, ensuring compatibility with existing utilities and step templates for clear component test coverage.

How do I create step definitions using Cucumber.js for existing feature files?

Create step definitions using Cucumber.js by applying reusable templates and patterns that ensure compatibility with existing utilities, accelerating test creation while maintaining consistent component testing workflows.

Can I use example tables and backgrounds in BDD tests for edge case coverage?

Yes, you can use example tables and optional backgrounds in BDD tests to systematically cover common workflows and edge cases, structuring scenarios efficiently within Gherkin feature files.

Do I need to update documentation when adding new BDD features?

Yes, you need to update README documentation when adding new BDD features, following workflow guidance from feature creation to README catalog updates to provide clear documentation for new contributors.