pytest --cov=src --cov-report=html

Category: Python & pip

pytest --cov=src --cov-report=html

Generate an HTML coverage report in htmlcov/

Generates an HTML coverage report in the htmlcov/ directory — open index.html in a browser.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.