bdd-testing

Implement BDD testing with Gherkin feature files and Docker-based environments using Reqnroll.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/yaochangyu/ai-dev-toolkit --skill bdd-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bdd-testing
Source: https://github.com/yaochangyu/ai-dev-toolkit/tree/main/.github/skills/bdd-testing
Command: npx skills add https://github.com/yaochangyu/ai-dev-toolkit --skill bdd-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This skill provides a structured workflow for implementing BDD testing with Gherkin feature files, step definitions, and Docker-based test environments using Reqnroll.

Core Features & Use Cases

  • Gherkin scenario authoring and management
  • Step definitions implementation and mapping to business rules
  • Docker-based test environments using Testcontainers for end-to-end tests
  • Guidance for integrating BDD into CI/CD and local development

Quick Start

Use the bdd-testing skill to scaffold a new BDD workflow with a sample feature and corresponding steps, then run end-to-end tests in a Docker-enabled environment.

Frequently Asked Questions about bdd-testing

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

FAQPage Schema
How do I set up end-to-end BDD testing with Gherkin and Reqnroll?

End-to-end BDD testing with Gherkin is set up by writing feature files, implementing step definitions, and configuring Docker-based test environments using Reqnroll to run tests in CI or local development.

Do I need Docker to run end-to-end tests with Testcontainers?

Yes, Docker is required to run end-to-end tests with Testcontainers, which provide deterministic environments for real services like SQL Server and Redis during test execution.

Can I integrate BDD testing workflows into my CI/CD pipeline?

Yes, BDD testing workflows can be integrated into CI/CD pipelines using WebApplicationFactory-like pipelines and Testcontainers to execute Gherkin scenarios automatically.

What is the best way to manage Gherkin scenarios and step definitions?

The best way to manage Gherkin scenarios is authoring structured feature files and mapping step definitions directly to business rules using Reqnroll for clear test coverage.

Why use Testcontainers for end-to-end testing instead of mocks?

Using Testcontainers for end-to-end testing provides deterministic, real instances of services like SQL Server and Redis, ensuring accurate environment validation without mock inconsistencies.

Does this BDD testing workflow support logging alongside SQL Server and Redis containers?

Yes, the BDD testing workflow supports configuring deterministic containers including SQL Server, Redis, and logging to facilitate comprehensive end-to-end test environments.