Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018
PyCon 2018 PyCon 2018
21.2K subscribers
35,843 views
809

 Published On May 12, 2018

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

show more

Share/Embed