Use when writing tests for code with invariants, state machines, parsers or financial calculations, or when example-based tests miss edge cases. Generates inputs with Hypothesis, fast-check or gopter and shrinks failures.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Property Based Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kavachlabs-property-based-testing)
---
name: property-based-testing
description: >
Use when writing tests for code with invariants, state machines, parsers or financial calculations, or when example-based tests miss edge cases. Generates inputs with Hypothesis, fast-check or gopter and shrinks failures.
---
# property-based-testing
Identify properties that must hold for all inputs, write generators, and let the framework find and shrink counterexamples.