·testify-tdd

在使用stretcher/testify編寫Go測試、實作TDD工作流程、建立模擬或組織測試套件時,請使用此技能。涵蓋斷言與需求模式、介面模擬、表格驅動測試和紅綠重構週期。

17安裝·0熱度·@linehaul-ai

安裝

$npx skills add https://github.com/linehaul-ai/linehaulai-claude-marketplace --skill testify-tdd

如何安裝 testify-tdd

透過命令列快速安裝 testify-tdd AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/linehaul-ai/linehaulai-claude-marketplace --skill testify-tdd
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:linehaul-ai/linehaulai-claude-marketplace。

SKILL.md

查看原文

Comprehensive guide for writing Go tests using stretchr/testify and following Test-Driven Development methodology.

| testify/assert | Assertions that continue on failure | Multiple independent checks in one test | | testify/require | Assertions that halt on failure | Prerequisites that must pass to continue | | testify/mock | Interface mocking | Isolating dependencies in unit tests | | testify/suite | Test organization | Related tests sharing setup/teardown |

Critical distinction: Choose based on whether the test should continue after failure.

在使用stretcher/testify編寫Go測試、實作TDD工作流程、建立模擬或組織測試套件時,請使用此技能。涵蓋斷言與需求模式、介面模擬、表格驅動測試和紅綠重構週期。 來源:linehaul-ai/linehaulai-claude-marketplace。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/linehaul-ai/linehaulai-claude-marketplace --skill testify-tdd
分類
</>開發工具
認證
收錄時間
2026-02-27
更新時間
2026-03-11

Browse more skills from linehaul-ai/linehaulai-claude-marketplace

快速解答

什麼是 testify-tdd?

在使用stretcher/testify編寫Go測試、實作TDD工作流程、建立模擬或組織測試套件時,請使用此技能。涵蓋斷言與需求模式、介面模擬、表格驅動測試和紅綠重構週期。 來源:linehaul-ai/linehaulai-claude-marketplace。

如何安裝 testify-tdd?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/linehaul-ai/linehaulai-claude-marketplace --skill testify-tdd 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/linehaul-ai/linehaulai-claude-marketplace