Individual skill
python-testing
使用pytest的Python测试策略,包括TDD方法、夹具、模拟、参数化和覆盖率要求。
docs/zh-CN/skills/python-testing/SKILL.md
Source commit b38be6a7f6350964d59328b52f0624e1d1d552d1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 3, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 299,420
- Repository last updated
- Nov 6, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- anthropic Repository topic
- claude Repository topic
- claude-code Repository topic
- developer-tools Repository topic
- llm Repository topic
- mcp Repository topic
- productivity Repository topic
- testing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytesSKILL.mdcore · 18,629 bytes
Read excerpt
# Python 测试模式
使用 pytest、TDD 方法论和最佳实践的 Python 应用程序全面测试策略。
## 何时激活
* 编写新的 Python 代码(遵循 TDD:红、绿、重构)
* 为 Python 项目设计测试套件
* 审查 Python 测试覆盖率
* 设置测试基础设施
## 核心测试理念
### 测试驱动开发 (TDD)