·testing-principles
</>

testing-principles

shinpr/claude-code-workflows

与语言无关的测试原则,包括 TDD、测试质量、覆盖标准和测试设计模式。在编写测试、设计测试策略或审查测试质量时使用。

12安装·1热度·@shinpr

安装

$npx skills add https://github.com/shinpr/claude-code-workflows --skill testing-principles

SKILL.md

Adaptation: Apply this structure using your language's idioms (methods, functions, procedures)

Adaptation: Follow your project's naming convention (camelCase, snakecase, describe/it blocks)

✓ Good: Test that function returns expected output ✓ Good: Test that correct API endpoint is called ✗ Bad: Test that internal variable was set ✗ Bad: Test order of private method calls

与语言无关的测试原则,包括 TDD、测试质量、覆盖标准和测试设计模式。在编写测试、设计测试策略或审查测试质量时使用。 来源:shinpr/claude-code-workflows。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/shinpr/claude-code-workflows --skill testing-principles
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 testing-principles?

与语言无关的测试原则,包括 TDD、测试质量、覆盖标准和测试设计模式。在编写测试、设计测试策略或审查测试质量时使用。 来源:shinpr/claude-code-workflows。

如何安装 testing-principles?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/shinpr/claude-code-workflows --skill testing-principles 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/shinpr/claude-code-workflows