/property-based-testing

Blog post I wrote on Property-Based Testing in Python

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Property Based Testing in Python

Binder

This repository provides a Jupyter notebook introducing property-based testing in Python using the Hypothesis library. It was written as a post for the internal UKAEA software development blog. The code is provided here so people can try running and modifying it themselves. You can do this either by cloning the repository or running it with Binder using the following link: https://mybinder.org/v2/gh/cmacmackin/property-based-testing/HEAD?labpath=hypothesis-demo.ipynb.