python-testing-standards
✓全面的 Python 測試最佳實踐、pytest 約定、測試結構模式(AAA、Given-When-Then)、夾具使用、模擬策略、代碼覆蓋率標準和常見反模式。代碼審查、測試編寫以及使用 pytest、unittest.mock 和 pytest-cov 確保高質量 Python 測試套件的基本參考。
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
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01