West Yorkshire Python User Group

The West Yorkshire Python User Group (WYPy) have been meeting monthly since 2007. Our meetings are free, and usually include at least one talk, as well as a trip to the pub.

We discuss our meetings on the Python Yorkshire and Humberside Google Group and you can also follow us on Twitter at @WYPython.

Hypothesis, a QuickCheck style testing library for Python

Thursday November 12, 2015

This month Peter Russell will be talking about Hypothesis.

Hypothesis is a Python testing library in the spirit of the Haskell and OCaml tool QuickCheck. It is developed by Daved R. MacIver. It is designed to be used alongside a normal unittest tool, but it works like a poor man's theorem prover: you write tests for your code that specify properties like, “for any valid input, this function should always return a non-empty list”, and the tool searches for a way to make the test fail.

In this talk we´ll be looking at the basics of using Hypothesis to test code, including some worked examples. We may look a little into how it works, and hopefully also be looking at how it can be used to implement model based testing of more complicated systems.

Date and Time

Thursday 12th November. Starting at 7.30pm.

If you want to arrive before the talk, the venue will be open from about 7.00pm. We will finish at around 8.30pm-9.00pm, and will be going to The Wardrobe pub afterwards.

Location

We will be meeting at ODI Leeds:

3rd Floor Munro House
Duke St
Leeds
LS9 8AG

There will be a note on the door when you arrive. Please call or txt the number and someone will come down to let you in.

Coming up

Nothing scheduled yet. Please check back soon.

Previous meetings

  1. 2017

    1. March - Becoming Polyglot - Lorna Mitchell
    2. February - February Social
  2. 2016

    1. September - (TBC) PyConUK Warmup
    2. June - Pair Programming Game
    3. May - Pair Programming Game
    4. April - Talisker - a Web Application Runtime
    5. February - February Social
    6. January - Fast Python Implementations: An Opinionated Review
  3. 2015

    1. November - Hypothesis, a QuickCheck style testing library for Python
    2. October - October Social
    3. September - Elephant taming for snake lovers
    4. August - How To Get Your Patch Accepted
    5. July - to pytest or not to pytest
    6. June - June Social
    7. May - Hacking on the WYPy website.
    8. January - Micropython
  4. 2014

    1. August - Simple Selenium Test - A case study
    2. June - Suggestions on designing a flexible framework
    3. May - Monitoring things that aren't computers
    4. April - Monitoring things that aren't computers
    5. March - Lightning talks: A Python editor/IDE show and tell
    6. February - Teaching Python at The Test People
  5. 2013

    1. November - Geist UI Automation Library
    2. September - Encouraging Contributions To Your Open Source Project
    3. July - Coding Session: Turtles All The Way Down
    4. May - Stormy Webber - Tornado for everyone
    5. April - PyCon US Review and social meeting
    6. March - Coding Session - Porting Restish to Python 3
    7. February - Inkscape and Python
  6. 2012

    1. December - Unit testing Django
    2. November - A Python powered media server
    3. October - IPython: tools for interactive computing
    4. June - Go From a Python Programmer's Perspective
    5. May - The Twisted Toolbox
    6. March - Coding Dojo
    7. February - Python Web Framework Comparrison (Part 2)
    8. January - Python Web Framework Comparrison (Part 1)
  7. 2011

    1. December - Coding Dojo
    2. November - Testing in Python
    3. October - Testing in Python and Using the SciPy toolset for interactive analysis
    4. August - Block World - Simon Davy