▶

Beyond Unit Tests: Property-Based Testing with Hypothesis

PyCon 2018 · Talk · YouTube title: Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018
Why it's here

HN commenters point to it as a concise, convincing case for better testing practice short of full formal methods.

What it covers

Hillel Wayne's PyCon 2018 talk on testing beyond pytest and mypy. It introduces property-based testing with the Hypothesis library and design-by-contract with dpcontracts, and shows how to combine them with an existing test suite.