·python-testing
</>

python-testing

affaan-m/everything-claude-code

使用 pytest、TDD 方法、固定裝置、模擬、參數化和覆蓋率要求的 Python 測試策略。

385安裝·29熱度·@affaan-m

安裝

$npx skills add https://github.com/affaan-m/everything-claude-code --skill python-testing

SKILL.md

Comprehensive testing strategies for Python applications using pytest, TDD methodology, and best practices.

| pytest.raises() | Test expected exceptions | | @pytest.fixture() | Create reusable test fixtures | | @pytest.mark.parametrize() | Run tests with multiple inputs | | @pytest.mark.slow | Mark slow tests | | pytest -m "not slow" | Skip slow tests | | @patch() | Mock functions and classes | | tmppath fixture | Automatic temp directory |

| pytest --cov | Generate coverage report | | assert | Simple and readable assertions |

使用 pytest、TDD 方法、固定裝置、模擬、參數化和覆蓋率要求的 Python 測試策略。 來源:affaan-m/everything-claude-code。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/affaan-m/everything-claude-code --skill python-testing
分類
</>開發工具
認證
收錄時間
2026-02-02
更新時間
2026-02-18

快速解答

什麼是 python-testing?

使用 pytest、TDD 方法、固定裝置、模擬、參數化和覆蓋率要求的 Python 測試策略。 來源:affaan-m/everything-claude-code。

如何安裝 python-testing?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/affaan-m/everything-claude-code --skill python-testing 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/affaan-m/everything-claude-code