MemotivaTesting in Python

What is test coverage?

Testing in Python

Audio flashcard · 0:15

Nortren·

What is test coverage?

0:15

Test coverage measures the percentage of code executed during tests. Tools like coverage.py and pytest-cov generate reports showing which lines and branches are tested. High coverage is necessary but not sufficient; covered code can still have bugs. The goal is meaningful tests, not just numbers. ---
coverage.readthedocs.io