Escape from Auto-manual Testing with Hypothesis!

Zac Hatfield-Dodds, ANU's 3A Institute - College of Engineering and Computer Science
Hypothesis is a testing package that will search for counterexamples to your assertions – so you can write tests that provide a high-level description of your code or system, and let the computer attempt a Popperian falsification. If it fails, your code is (probably) OK… and if it succeeds you have a minimal input to debug. Come along and learn the principles of property-based testing, how to use Hypothesis, and how to use it to check scientific code – whether highly-polished or quick-and-dirty!


NumPy, Pandas