Functions of coverage.py
Let’s discuss coverage.py and how it helps in measuring our code coverage.
We'll cover the following
Coverage.py
is a 3rd party tool for Python that is used for measuring our code coverage.
It was originally created by Ned
Batchelder. The term “coverage” in programming circles is typically used to describe the effectiveness of our tests and how much of our code is actually covered by tests.
We can use coverage.py
with Python 2.6 up to the current version of Python 3 as well as with PyPy
.
Get hands-on with 1400+ tech skills courses.