This is a series of short exercies to get practice writing unit tests.
It is intended as a companion to reading https://mpd.jpt.sh/testing/
Instructions are in buggy.py
.
It will have you will write tests in test_buggy.py
, you can run them with uv run pytest
.
Remember to name your tests test_*
.
At the end you should have 12+ tests, with some failing and most passing as dicated in the instructions.