cucumber-gherkin
✓使用 Cucumber 和 Gherkin 語法進行全面的 BDD 測試。在編寫功能文件 (.feature)、步驟定義、掛鉤或實現行為驅動開發時使用。涵蓋 Gherkin 關鍵字(功能、場景、給定/何時/然後、背景、場景大綱、規則)、Ruby/JavaScript/Java/Python 的步驟定義模式、掛鉤(Before/After/BeforeAll/AfterAll)、標籤、數據表、文檔字符串和最佳實踐。觸發黃瓜、小黃瓜、BDD、功能文件、步驟定義、驗收測試、可執行規範。
SKILL.md
BDD testing framework with plain-text executable specifications. Gherkin syntax with step definitions in Ruby, JavaScript, Java, or Python.
Cucumber reads executable specifications in plain text and validates software behavior. Gherkin is the structured grammar making plain text machine-readable.
| Given | Setup/precondition | Given I am logged in as "admin" | | When | Action/trigger | When I click the submit button | | Then | Assertion/outcome | Then I should see "Success" | | And | Continue previous type | And I have 3 items in my cart | | But | Negative continuation | But I should not see "Error" | | | Bullet-style step | I have eggs |
使用 Cucumber 和 Gherkin 語法進行全面的 BDD 測試。在編寫功能文件 (.feature)、步驟定義、掛鉤或實現行為驅動開發時使用。涵蓋 Gherkin 關鍵字(功能、場景、給定/何時/然後、背景、場景大綱、規則)、Ruby/JavaScript/Java/Python 的步驟定義模式、掛鉤(Before/After/BeforeAll/AfterAll)、標籤、數據表、文檔字符串和最佳實踐。觸發黃瓜、小黃瓜、BDD、功能文件、步驟定義、驗收測試、可執行規範。 來源:el-feo/ai-context。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/el-feo/ai-context --skill cucumber-gherkin- 分類
- {}資料分析
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 cucumber-gherkin?
使用 Cucumber 和 Gherkin 語法進行全面的 BDD 測試。在編寫功能文件 (.feature)、步驟定義、掛鉤或實現行為驅動開發時使用。涵蓋 Gherkin 關鍵字(功能、場景、給定/何時/然後、背景、場景大綱、規則)、Ruby/JavaScript/Java/Python 的步驟定義模式、掛鉤(Before/After/BeforeAll/AfterAll)、標籤、數據表、文檔字符串和最佳實踐。觸發黃瓜、小黃瓜、BDD、功能文件、步驟定義、驗收測試、可執行規範。 來源:el-feo/ai-context。
如何安裝 cucumber-gherkin?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/el-feo/ai-context --skill cucumber-gherkin 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/el-feo/ai-context
詳情
- 分類
- {}資料分析
- 來源
- skills.sh
- 收錄時間
- 2026-02-01