Listen "107: Property Based Testing in Python with Hypothesis - Alexander Hultnér"
Episode Synopsis
Hypothesis is the Python tool used for property based testing. Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."In this episode Alexander Hultnér introduces us to property based testing in Python with Hypothesis.Some topics covered:What is property based testingThinking differently for property based testingUsing hypothesis / property based testing in conjunction with normal testingFailures saved and re-runWhat parts of development/testing is best suited for hypothesis / property based testing Comparing function implementationsTesting against REST APIs that use Open API / Swagger with schemathesis Changing the number of tests in different test environmentsSystem, integration, end to end, and unit testsSpecial Guest: Alexander Hultnér.Links:Hypothesis homeHypothesis docsTest Fast, Fix More - Property based testing with Hypothesis by Alexander Hultnér - YouTubeQuickcheck, Grandfather of property based testingBeyond Unit Tests, Hillel Wayne, PyCon 2018Better Testing With Less Code, Matt Bachmann, PyCon 2016Choosing properties for property-based testing (F#)schemathesis: Hypothesis + Open API / Swagger for testing web applications
More episodes of the podcast Test & Code
238: So Long, and Thanks for All the Fish
15/08/2025
237: FastAPI Cloud - Sebastián Ramírez
11/08/2025
236: Git Tips for Testing - Adam Johnson
30/07/2025
235: pytest-django - Adam Johnson
22/07/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.