PyGRAZ ist eine Usergroup mit die Python-Programmiersprache in Graz. Wir treffen uns regelmässig am ersten Dienstag im Monat entweder im realraum oder im Gösserbräu.

Meetup vom 3. März 2020 um 19:00 Uhr

In March, we are happy to attend a talk by Christoph Reiter.


Property-Based Testing with pytest & Hypothesis


With Hypothesis you can easily add property-based/QuickCheck like testing to your existing pytest based test suite. Hypothesis provides various tools for generating test data automatically for your tests with the goal of breaking them and, if it succeeds, providing a simplified example input which is easy to work/debug with.

We are going to look at how to add Hypothesis to an existing test suite; how to generate various types of test data; how to write tests with it; how to write our own custom data generators and finally we are going to look at how various popular projects use Hypothesis in their test suites.

Location: Realraum

Brockmanngasse 15 - 8010 Graz

realraum - Verein für Technik in Kultur und Gesellschaft
Comments powered by Disqus