·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-10

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