1414
pygraz20-march - PyGraz March: pytest and hypothesis
ICAL
2020-03-03 Tue 19:00 -23:00
where
realraum Graz, Brockmanngasse 15, 8010 Graz   —   47.0655488753, 15.450591445 ( OpenStreetMapGoogle )
urls
Description

In March, Christoph Reiter is going to give a talk. It is going to be in English and Christoph will dive into the topic of testing. In particular, hypothesis and pytest.

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.

Comments

There are so far no comments about this event.

Log in to add a comment.