Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hypothesis_Randomised_testing_for_Django.pdf

 Hypothesis_Randomised_testing_for_Django.pdf

A talk given at DjangoCon Europe in June 2015, about Hypothesis, the property-based fuzz testing library for Python.

Explains the advantages of using Hypothesis, describes its Django-specific features, and shows some example code for including Hypothesis in Django tests.

Rae Knowler

June 03, 2015
Tweet

More Decks by Rae Knowler

Other Decks in Programming

Transcript

  1. Why is it so great? • Lots of randomised data

    • Simplifies examples • Remembers interesting inputs
  2. Why is it so great? • Lots of randomised data

    • Simplifies examples • Remembers interesting inputs • Can deal with complex data types
  3. Why is it so great? • Lots of randomised data

    • Simplifies examples • Remembers interesting inputs • Can deal with complex data types • Works with pytest and unittest