Skip to main content
Run any Skill in Manus
with one click

golang-testing

Stars4
Forks0
UpdatedJuly 8, 2026 at 02:25

Go 测试惯用法(配合 tdd-workflow)——测试文件必须 1:1 对应实现文件(foo_test.go 必有 foo.go);默认 table-driven + t.Run 子测试;独立测试 t.Parallel;benchmark/fuzz 用 testing 内置工具。触发:编写/审查 Go 函数或方法、新增 *_test.go、补充测试覆盖、创建 benchmark/fuzz test。跳过:生成代码、vendor、纯配置、非 Go 项目。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly