‹ 首页

python-testing

@damianjedryka39-create · 收录于 1 周前 · 上游提交 3 周前

Python testing best practices using pytest including fixtures, parametrization, mocking, coverage analysis, async testing, and test organization. Use when writing or improving Python tests.

适合你,如果你在写或改进 Python 测试

/ 通过 npx 安装 校验哈希
npx oh-my-skill add damianjedryka39-create/temple_repo_v2/python-testing
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- damianjedryka39-create/temple_repo_v2/python-testing
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify damianjedryka39-create/temple_repo_v2/python-testing
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~2.1K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 7b22237 · 表述以原文为准
它做什么

Claude 会按照 pytest 最佳实践帮你编写、改进 Python 测试,包括 fixture、参数化、模拟、覆盖率分析、异步测试和测试组织。

什么时候触发

当你要求编写或改进 Python 测试,或涉及 pytest 基础设施、调试不稳定测试、实现集成测试、测试异步代码时触发。

装好后可以这样说
Claude 会生成 parametrize 示例。
Claude 会生成 db_session fixture。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。