Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018

Опубликовано: 27 Май 2026
на канале: PyCon 2018
37,968
847

Speaker: Hillel Wayne

You've used pytest and you've used mypy, but bugs are still slipping through your code. What's next? In this talk, we cover two simple but powerful tools for keeping your code problem-free. Property-based testing, provided by the [Hypothesis](https://hypothesis.readthedocs.io/en/...) library, lets you run hundreds of tests from a single template. Contracts, via [dpcontracts](https://github.com/deadpixi/contracts), make your program test itself. You'll learn how and why to use these tools and how to combine them with the rest of your testing suite.


Slides can be found at: https://speakerdeck.com/pycon2018 and https://github.com/PyCon/2018-slides