·python-testing-standards
</>

python-testing-standards

clostaunau/holiday-card

全面的 Python 测试最佳实践、pytest 约定、测试结构模式(AAA、Given-When-Then)、夹具使用、模拟策略、代码覆盖率标准和常见反模式。代码审查、测试编写以及使用 pytest、unittest.mock 和 pytest-cov 确保高质量 Python 测试套件的基本参考。

6安装·0热度·@clostaunau

安装

$npx skills add https://github.com/clostaunau/holiday-card --skill python-testing-standards

SKILL.md

This skill provides comprehensive testing standards and best practices for Python projects using pytest. It serves as a reference guide during code reviews to ensure test quality, maintainability, and adherence to Python testing conventions.

High-quality tests are essential for maintaining reliable Python applications. This skill documents industry-standard testing practices using pytest, the de facto testing framework for modern Python development. These standards emphasize:

This skill is designed to be referenced by the uncle-duke-python agent during code reviews and by developers when writing tests.

全面的 Python 测试最佳实践、pytest 约定、测试结构模式(AAA、Given-When-Then)、夹具使用、模拟策略、代码覆盖率标准和常见反模式。代码审查、测试编写以及使用 pytest、unittest.mock 和 pytest-cov 确保高质量 Python 测试套件的基本参考。 来源:clostaunau/holiday-card。

查看原文

可引用信息

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

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

快速解答

什么是 python-testing-standards?

全面的 Python 测试最佳实践、pytest 约定、测试结构模式(AAA、Given-When-Then)、夹具使用、模拟策略、代码覆盖率标准和常见反模式。代码审查、测试编写以及使用 pytest、unittest.mock 和 pytest-cov 确保高质量 Python 测试套件的基本参考。 来源:clostaunau/holiday-card。

如何安装 python-testing-standards?

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

这个 Skill 的源码在哪?

https://github.com/clostaunau/holiday-card