Introduction
We use pytest-cov to check how much of our code is tested. It helps find parts that need more tests.
You want to see which parts of your code are tested by your tests.
You want to improve your test coverage to catch more bugs.
You need to generate a coverage report for your project.
You want to check coverage automatically during continuous integration.
You want to find untested code before releasing your software.