hypothesis
Package — TestingPython 3.7+Intermediate
Property-based testing: auto-generates edge-case test inputs
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.7+
- Dependencies
- attrs, sortedcontainers
- Install
pip install hypothesis
Learn by Difficulty
Quick Example
python
# Install: pip install hypothesis import hypothesis # Basic hypothesis usage print(f"Using hypothesis") # See documentation for detailed examples
hypothesis is a third-party package. Property-based testing: auto-generates edge-case test inputs. Install with: pip install hypothesis
Try in PlaygroundTags
packagetestingquality-assurance