跳到主要内容

技能测试与质量

testify 测试指南

包名 golang-stretchr-testify

当项目已经引用 stretchr/testify 时,用这份指南写断言、模拟对象和测试套件,并区分 assert 与 require。

.skillgolang-stretchr-testify.skill下载技能包
安装量
4.2 万次安装
来源
samber/cc-skills-golang
许可证
许可证 MIT
分类
测试与质量

INSTALL

npx skills add https://github.com/samber/cc-skills-golang --skill golang-stretchr-testify
这是第三方技能原文。本站没有改写正文,也不是作者。安装前请自己读一遍,并遵守技能自带的许可证。

来源

快照日期 2026年11月27日

原文里的字段

user-invocable
true
许可证
MIT
兼容性
Designed for Claude Code, Codex or similar harness, and for projects using Golang.
作者
samber
版本
1.3.1
allowed-tools
Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(gotests:*) AskUserQuestion Bash(godig:*) Bash(gopls:*) LSP mcp__gopls__*
paths
**/*.go

正在打开文件…