·python-testing-patterns
</>

python-testing-patterns

nickcrew/claude-ctx-plugin

使用 pytest、模拟和基于属性的测试的 Python 测试模式和最佳实践。在 Python 项目中编写单元测试、集成测试或实现测试驱动开发时使用。

10安装·0热度·@nickcrew

安装

$npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill python-testing-patterns

SKILL.md

Comprehensive guide to implementing robust testing strategies in Python using pytest, fixtures, mocking, parameterization, and property-based testing.

Test Discovery: Files matching test.py or test.py, functions starting with test

| Pytest basics, test structure, AAA pattern | skills/python-testing-patterns/references/pytest-fundamentals.md | | Fixtures, scopes, setup/teardown, conftest.py | skills/python-testing-patterns/references/fixtures.md | | Parametrization, multiple test cases | skills/python-testing-patterns/references/parametrized-tests.md |

使用 pytest、模拟和基于属性的测试的 Python 测试模式和最佳实践。在 Python 项目中编写单元测试、集成测试或实现测试驱动开发时使用。 来源:nickcrew/claude-ctx-plugin。

查看原文

可引用信息

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

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

快速解答

什么是 python-testing-patterns?

使用 pytest、模拟和基于属性的测试的 Python 测试模式和最佳实践。在 Python 项目中编写单元测试、集成测试或实现测试驱动开发时使用。 来源:nickcrew/claude-ctx-plugin。

如何安装 python-testing-patterns?

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

这个 Skill 的源码在哪?

https://github.com/nickcrew/claude-ctx-plugin