107: Property Based Testing in Python with Hypothesis - Alexander Hultnér - podcast episode cover

107: Property Based Testing in Python with Hypothesis - Alexander Hultnér

Mar 27, 202036 minSeason 1Ep. 107
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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 testing
  • Thinking differently for property based testing
  • Using hypothesis / property based testing in conjunction with normal testing
  • Failures saved and re-run
  • What parts of development/testing is best suited for hypothesis / property based testing
  • Comparing function implementations
  • Testing against REST APIs that use Open API / Swagger with schemathesis
  • Changing the number of tests in different test environments
  • System, integration, end to end, and unit tests

Special Guest: Alexander Hultnér.

Sponsored By:

Links:

★ Support this podcast on Patreon ★
For the best experience, listen in Metacast app for iOS or Android
Open in Metacast
107: Property Based Testing in Python with Hypothesis - Alexander Hultnér | Test & Code podcast - Listen or read transcript on Metacast