What problem does it solve?
Traditional example-based unit tests only cover a small set of predefined inputs, missing rare edge cases that cause production bugs in parsers, serialization, pure functions, and state machines.
Core Features & Use Cases
- Multi-language framework support: Includes guidance for Hypothesis (Python), jqwik (Java/Kotlin), and Kotest Property (Kotlin) to match your project's tech stack.
- Structural property validation: Test invariants, idempotence, round-trip consistency, commutativity, and oracle parity against reference implementations instead of individual input/output pairs.
- Edge case discovery: Automatically generate hundreds of random inputs and shrink failing cases to minimal reproducible examples to speed up debugging.
- Use case example: Verify that a JSON serializer always round-trips correctly for all valid input, or that a new optimized sorting function behaves identically to a known-correct reference implementation.
Quick Start
Use the property-based-testing skill to write a property test that validates your JSON serializer round-trips all input data correctly using the framework matching your project's programming language.