Next Meetup

Property Testing with Hypothesis
Hypothesis (https://hypothesis.readthedocs.io/en/latest/) is a Python library that makes it easy to generate random inputs for your test cases. You use it to verify properties about your programs, such as • x + x == 2 * x for all numeric values of x, •reverse(reverse(lst)) == lst for all lists lst, or • json.loads(json.dumps(x)) == x for all x, This kind property testing is very good at finding edge cases that you haven't thought about before. Property testing was popularized by the Haskell QuickCheck library and this talk will show how Hypothesis allows you to do the same in Python.

Needs a location

2 comments