Introduction
We run tests to check if our code works correctly. The pytest command helps us run all tests easily.
After writing new test functions to check your code
To quickly check if recent changes broke anything
Before sharing your code with others to ensure quality
When you want a summary of which tests passed or failed