unit-testing
✓单元测试模式和最佳实践。在编写隔离单元测试、实现 AAA 模式、设计测试隔离或设置业务逻辑的覆盖目标时使用。
SKILL.md
| Business logic | 90%+ | | Critical paths | 100% | | New features | 100% | | Utilities | 80%+ |
When to use each scope: | Scope | Use Case | Example |
| function | Isolated tests, mutable state | dbsession, mock objects | | module | Expensive setup, read-only | ML model, compiled regex | | session | Very expensive, immutable | DB engine, external service |
单元测试模式和最佳实践。在编写隔离单元测试、实现 AAA 模式、设计测试隔离或设置业务逻辑的覆盖目标时使用。 来源:yonatangross/orchestkit。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/yonatangross/orchestkit --skill unit-testing- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 unit-testing?
单元测试模式和最佳实践。在编写隔离单元测试、实现 AAA 模式、设计测试隔离或设置业务逻辑的覆盖目标时使用。 来源:yonatangross/orchestkit。
如何安装 unit-testing?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/yonatangross/orchestkit --skill unit-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/yonatangross/orchestkit
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01