comprehensive-testing
仓库创建 2025年12月9日最近提交 10 天前SkillHot 收录 21 天前
▸ 精选理由
帮助构建可验证的开发目标与稳定的测试流程。
这个 Skill 做什么
提供全面测试策略:单元、集成、E2E、属性测试及 CI 最佳实践。
提供端到端的测试策略:从 TDD、单元/集成/端到端到属性测试,并给出 Jest、Vitest、pytest 等框架与 CI 集成的实战建议。当你要写测试、评审测试质量或建立团队测试规范时用,帮助把测试放在设计流程里而不是事后补刀。特点是强调可测性设计、测试金字塔、mock 策略和 CI 最佳实践,不只是写几条断言。
▸ 展开 SKILL.md 英文原文
Complete testing strategy covering TDD workflow, test pyramid, unit/integration/E2E/property testing, framework best practices (Jest, Vitest, pytest), mock strategies, and CI integration. Use when writing tests, reviewing test quality, or establishing testing standards.
240
Stars
23
Forks
40
仓库内 Skill
+8
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/comprehensive-testing/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/comprehensive-testing/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Comprehensive Testing
> Based on [Anthropic's Claude Code Best Practices](https://www.anthropic.com/engineering/claude-code-best-practices) and community patterns
## Core Philosophy
> "Claude performs best when it has a clear target to iterate against—a test case provides concrete success criteria."
Testing is not about proving code works; it's about **designing code that is testable** and **documenting expected behavior**.
---
## Test Pyramid
```
/\
/ \ E2E Tests (10%)
/----\ - Full user flows
/ \ - Slowest, most brittle
/--------\
/ \ Integration Tests (20%)
/------------\ - Component interaction
/ via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有