什么是 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