coverage.py

The standard Python tool for measuring code coverage, which records which lines and branches ran.

In more detail

You can run it directly or through the pytest-cov plugin. Its reports list each file with its statement count, missed statements, percentage covered and, if asked, the missing line numbers.

Related terms

Taught in

References

Certification courses