
Sign up to save your podcasts
Or
Visit our site to listen to past episodes, support the show, join our community, and sign up for our mailing list.
Writing tests is important for the stability of our projects and our confidence when making changes. One issue that we must all contend with when crafting these tests is whether or not we are properly exercising all of the edge cases. Property based testing is a method that attempts to find all of those edge cases by generating randomized inputs to your functions until a failing combination is found. This approach has been popularized by libraries such as Quickcheck in Haskell, but now Python has an offering in this space in the form of Hypothesis. This week, the creator and maintainer of Hypothesis, David MacIver, joins us to tell us about his work on it and how it works to improve our confidence in the stability of our code.
The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA
4.4
100100 ratings
Visit our site to listen to past episodes, support the show, join our community, and sign up for our mailing list.
Writing tests is important for the stability of our projects and our confidence when making changes. One issue that we must all contend with when crafting these tests is whether or not we are properly exercising all of the edge cases. Property based testing is a method that attempts to find all of those edge cases by generating randomized inputs to your functions until a failing combination is found. This approach has been popularized by libraries such as Quickcheck in Haskell, but now Python has an offering in this space in the form of Hypothesis. This week, the creator and maintainer of Hypothesis, David MacIver, joins us to tell us about his work on it and how it works to improve our confidence in the stability of our code.
The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA
272 Listeners
284 Listeners
480 Listeners
590 Listeners
622 Listeners
443 Listeners
297 Listeners
215 Listeners
764 Listeners
65 Listeners
986 Listeners
267 Listeners
192 Listeners
139 Listeners
2 Listeners