5👍
✅
coverage.py has an a command, coverage html
, which generates html pages very similar to your screenshot. Here’s an example from some of my own recent code:
There is documentation for how to integrate coverage into your Django testing tools at The Django Docs.
Source:stackexchange.com