DevConf.us 2018 is the 1st annual, free, Red Hat sponsored technology conference for community project and professional contributors to Free and Open Source technologies held at the Boston University in the historic city of Boston, USA.
When: Friday, August 17 to Sunday, August 19, 2018
Property-based testing is a form of testing where the test specifies a property to test, and the testing library generates many examples for which the property can be tested. Writing a property-based test is generally more difficult that writing an example-based test, however property-based testing is generally much more powerful than the more usual example-based testing.
hypothesis-python is a powerful and easy-to-use property-based testing library for Python. proptest is a relatively new property-based testing library based on ideas from hypothesis-python implemented in Rust.
This talk will introduce the principles of property-based testing, discuss some misconceptions about its domain, and introduce hypothesis-python and proptest by means of some examples.