·test-property-based
</>

test-property-based

使用 Python 專案的假設進行基於屬性的測試。編寫屬性測試時使用, 測試不變量、產生測試案例、模糊測試、往返測試或驗證 跨多個輸入的行為。觸發“屬性測試”、“假設測試”、“生成測試” 範例」、「不變測試」、「邊緣狀況測試」、「狀態測試」、「往返測試」。 適用於 Python (.py) 測試檔案、pytest、pytest-asyncio 和 Pydantic 模型。

4安裝·0熱度·@dawiddutoit

安裝

$npx skills add https://github.com/dawiddutoit/custom-claude --skill test-property-based

如何安裝 test-property-based

透過命令列快速安裝 test-property-based AI 技能到你的開發環境

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

來源:dawiddutoit/custom-claude。

SKILL.md

查看原文

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
分類
</>開發工具
認證
收錄時間
2026-02-25
更新時間
2026-03-10

Browse more skills from dawiddutoit/custom-claude

快速解答

什麼是 test-property-based?

使用 Python 專案的假設進行基於屬性的測試。編寫屬性測試時使用, 測試不變量、產生測試案例、模糊測試、往返測試或驗證 跨多個輸入的行為。觸發“屬性測試”、“假設測試”、“生成測試” 範例」、「不變測試」、「邊緣狀況測試」、「狀態測試」、「往返測試」。 適用於 Python (.py) 測試檔案、pytest、pytest-asyncio 和 Pydantic 模型。 來源:dawiddutoit/custom-claude。

如何安裝 test-property-based?

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

這個 Skill 的原始碼在哪?

https://github.com/dawiddutoit/custom-claude