hypothesis - Property-Based Testing Framework for Python
Automatically generates test data, shrinks failing examples to minimal reproducible cases, and verifies invariants for Python and Polars code.
Tags
Updated: 2026-09-17Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Generate test data using strategies
- Shrink minimal failing test examples
- Execute rule-based stateful tests
- Generate parametric Polars DataFrames
- Configure test execution settings profiles
- Auto-generate tests with ghost writer
Inputs
- Test strategies and schemas
- Target Python code and functions
- Test settings and profiles
Outputs
- Minimal failing test examples
- Test assertion results
- Local example database directory
Requirements
- Python runtime
- Hypothesis library
- pytest framework
