什麼是 test-property-based?
使用 Python 專案的假設進行基於屬性的測試。編寫屬性測試時使用, 測試不變量、產生測試案例、模糊測試、往返測試或驗證 跨多個輸入的行為。觸發“屬性測試”、“假設測試”、“生成測試” 範例」、「不變測試」、「邊緣狀況測試」、「狀態測試」、「往返測試」。 適用於 Python (.py) 測試檔案、pytest、pytest-asyncio 和 Pydantic 模型。 來源:dawiddutoit/custom-claude。
使用 Python 專案的假設進行基於屬性的測試。編寫屬性測試時使用, 測試不變量、產生測試案例、模糊測試、往返測試或驗證 跨多個輸入的行為。觸發“屬性測試”、“假設測試”、“生成測試” 範例」、「不變測試」、「邊緣狀況測試」、「狀態測試」、「往返測試」。 適用於 Python (.py) 測試檔案、pytest、pytest-asyncio 和 Pydantic 模型。
透過命令列快速安裝 test-property-based AI 技能到你的開發環境
來源:dawiddutoit/custom-claude。
Property-based testing automatically generates hundreds of test cases to validate invariants:
Hypothesis automatically generates 100+ test cases including edge cases you'd never think of: empty lists, single elements, duplicates, large lists, negative numbers, etc.
Philosophy: Instead of "here are 5 examples that should work", write "here's a property that should ALWAYS hold" and let Hypothesis find edge cases.
使用 Python 專案的假設進行基於屬性的測試。編寫屬性測試時使用, 測試不變量、產生測試案例、模糊測試、往返測試或驗證 跨多個輸入的行為。觸發“屬性測試”、“假設測試”、“生成測試” 範例」、「不變測試」、「邊緣狀況測試」、「狀態測試」、「往返測試」。 適用於 Python (.py) 測試檔案、pytest、pytest-asyncio 和 Pydantic 模型。 來源:dawiddutoit/custom-claude。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/dawiddutoit/custom-claude --skill test-property-based使用 Python 專案的假設進行基於屬性的測試。編寫屬性測試時使用, 測試不變量、產生測試案例、模糊測試、往返測試或驗證 跨多個輸入的行為。觸發“屬性測試”、“假設測試”、“生成測試” 範例」、「不變測試」、「邊緣狀況測試」、「狀態測試」、「往返測試」。 適用於 Python (.py) 測試檔案、pytest、pytest-asyncio 和 Pydantic 模型。 來源:dawiddutoit/custom-claude。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dawiddutoit/custom-claude --skill test-property-based 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dawiddutoit/custom-claude