Test coverage with uv
Add the coverage module
uv add --dev coverage
Collect the coverage
uv run coverage run -m pytest
Generate text report
uv run coverage report
Generate html report
uv run coverage html
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
uv add --dev coverage
uv run coverage run -m pytest
uv run coverage report
uv run coverage html