How to Break Your Code

Ayla Yersel
Level Up Coding
Published in
5 min readJul 23, 2021

--

A quick introduction to unit testing in Python

Photo by Joshua Woroniecki on Unsplash

It is a truth universally acknowledged that it’s best to find bugs in your program before your users do.

As the old programming joke goes: a programmer walks into a bar and orders a beer. 99 beers. 0.999999 beers. Orders 0 beers. Orders an iguana.

Then a customer enters and asks where the bathroom is — and the whole bar bursts…

--

--