·python-testing-patterns
</>

python-testing-patterns

nickcrew/claude-ctx-plugin

使用 pytest、模擬和基於屬性的測試的 Python 測試模式和最佳實踐。在 Python 項目中編寫單元測試、集成測試或實現測試驅動開發時使用。

10安裝·1熱度·@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