Back to skills
SKILL.md
Property Based Testing
ASecurityProperty-based tests (fast-check, Hypothesis, proptest) for parsers, serialisers, money math and invariants.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added December 2, 2026
Security analysis
100/100npx -y skills add karthikrshet/saarthi --skill property-based-testing --agent claude-codeAre 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/karthikrshet-property-based-testing)---
name: property-based-testing
description: Property-based tests (fast-check, Hypothesis, proptest) for parsers, serialisers, money math and invariants.
tags: [testing]
---
# Property Based Testing
## When to use
- Encoders/decoders, calculations, state machines
## Procedure
1. Identify invariants (round-trip, idempotence, conservation)
2. Write generators for inputs
3. Run many cases
4. Shrink and fix failures
5. Keep failing seeds as regression tests
## Checklist
- [ ] Invariants documented
- [ ] Seeds recorded
## Anti-patterns
- Properties that restate the implementation
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.