We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74570cb commit b0365b2Copy full SHA for b0365b2
scripts/coverage.sh
@@ -2,4 +2,8 @@
2
3
source .venv/bin/activate
4
5
-pytest --cov="src/$1" --cov-report=html .
+# Run pytest with coverage reports and tee output
6
+pytest --cov="src/$1" --cov-report=html --cov-report=term-missing . 2>&1 | tee htmlcov/coverage_report.txt
7
+
8
+# Extract just the missing coverage summary
9
+grep -A 20 "Missing" htmlcov/coverage_report.txt > htmlcov/missing_coverage.txt
0 commit comments