Cucumber BDD Testing

Cucumber/Gherkin BDD testing for behavior-driven development workflows

509 stars

Best use case

Cucumber BDD Testing is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Cucumber/Gherkin BDD testing for behavior-driven development workflows

Teams using Cucumber BDD Testing should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cucumber-bdd/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/qa-testing-automation/skills/cucumber-bdd/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cucumber-bdd/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Cucumber BDD Testing Compares

Feature / AgentCucumber BDD TestingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Cucumber/Gherkin BDD testing for behavior-driven development workflows

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Cucumber BDD Testing Skill

## Overview

This skill provides expert-level capabilities for Cucumber-based BDD testing, enabling feature file creation, step definition generation, and living documentation.

## Capabilities

### Feature File Development
- Write Gherkin feature files
- Structure scenarios effectively
- Implement scenario outlines
- Use backgrounds for common setup

### Step Definition Generation
- Generate step definitions from features
- Implement reusable step patterns
- Handle step parameters and transformations

### Data Handling
- Handle data tables
- Implement doc strings
- Configure example tables for outlines

### Configuration
- Configure Cucumber profiles
- Set up parallel execution
- Configure formatters and reporters

### Tag Management
- Implement tag-based test filtering
- Configure tag expressions
- Organize tests with tags

### Reporting
- Generate Cucumber reports
- HTML and JSON formatters
- JUnit XML output

### Living Documentation
- Generate living documentation
- Keep specs and tests synchronized
- Enable non-technical stakeholder collaboration

### Framework Integration
- Integration with Playwright/Cypress
- Integration with Selenium
- Integration with API testing frameworks

## Target Processes

- `e2e-test-suite.js` - BDD-style E2E tests
- `test-strategy.js` - BDD strategy implementation
- `shift-left-testing.js` - Early BDD adoption

## Dependencies

- `@cucumber/cucumber` - Cucumber.js
- Step definition framework
- Test automation framework

## Usage Example

```javascript
{
  kind: 'skill',
  skill: {
    name: 'cucumber-bdd',
    context: {
      action: 'execute-features',
      featurePath: 'features/**/*.feature',
      tags: '@smoke and not @wip',
      format: ['html:reports/cucumber.html', 'json:reports/cucumber.json']
    }
  }
}
```

## Configuration

The skill uses `cucumber.js` configuration file and supports multiple output formats.

Related Skills

react-testing-library

509
from a5c-ai/babysitter

React Testing Library patterns, queries, user events, and accessibility testing.

cloud-security-testing

509
from a5c-ai/babysitter

Multi-cloud security assessment and penetration testing capabilities. Execute Prowler/ScoutSuite assessments, analyze IAM policies, identify cloud misconfigurations, test permissions, and enumerate cloud resources across AWS/GCP/Azure.

Stryker Mutation Testing

509
from a5c-ai/babysitter

Stryker mutation testing for assessing test suite quality and effectiveness

pytest Testing

509
from a5c-ai/babysitter

Expert pytest framework for Python unit, integration, and functional testing

Playwright E2E Testing

509
from a5c-ai/babysitter

Deep integration with Playwright for browser automation and end-to-end testing

Percy Visual Testing

509
from a5c-ai/babysitter

Percy visual testing platform integration for visual regression detection

pact-contract-testing

509
from a5c-ai/babysitter

Consumer-driven contract testing with Pact framework. Generate consumer contracts, configure Pact Broker publishing, execute provider verification, detect breaking changes, and integrate with CI/CD pipelines.

k6 Performance Testing

509
from a5c-ai/babysitter

k6 load testing expertise for performance validation and analysis

JMeter Performance Testing

509
from a5c-ai/babysitter

Apache JMeter expertise for enterprise-grade load and performance testing

Jest Testing

509
from a5c-ai/babysitter

Expert Jest testing framework for JavaScript/TypeScript unit and integration testing

Cypress E2E Testing

509
from a5c-ai/babysitter

Expert Cypress testing framework integration for browser-based end-to-end testing

BackstopJS Visual Testing

509
from a5c-ai/babysitter

BackstopJS visual regression testing for self-hosted visual comparison