Skip to main content
在 Manus 中运行任何 Skill
一键导入

property-based-test-gen

星标7
分支2
更新时间2026年5月21日 07:53

從 TC 的邊界欄位(前置 / 預期)+ 既有 pytest,產生 hypothesis 的 @given strategies,把 example-based test 升級成 fuzz test。每條 property test 跑 100+ input 自動探邊界 bug,跟 mutation-testing 互補(mutation 找漏點 / property 用 fuzz 封死)。當使用者提到「property-based testing / hypothesis / fuzz test / 隨機 input 測 / 邊界自動掃 / 把 example test 變 property test」,或剛跑完 mutation-testing 看到 boundary survived 想補強時觸發。配套:tc-to-pytest(前置 example test)、mutation-testing(找漏點)、test-review(驗 strategy 合理)。

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
6 个文件
SKILL.md
readonly