·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