Cucumber BDD Testing
Cucumber/Gherkin BDD testing for behavior-driven development workflows
它会碰到什么
扫了多少2 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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 teststest-strategy.js- BDD strategy implementationshift-left-testing.js- Early BDD adoption
Dependencies
@cucumber/cucumber- Cucumber.js- Step definition framework
- Test automation framework
Usage Example
{
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.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 1,796
本站分层T1
该仓技能数2115
原文件路径
library/specializations/qa-testing-automation/skills/cucumber-bdd/SKILL.md