Introduction
We write tests to check if our code works correctly. PyTest helps us run these checks easily.
You want to check if a function returns the right answer.
You want to make sure a bug is fixed and stays fixed.
You want to test small parts of your program one by one.
You want to run tests automatically when you save your code.