db-free-coverage-gate-understates-real-coverage
Running pytest --cov without a live Postgres instance causes all DB-dependent integration tests to auto-skip, producing artificially low coverage (e.g., 66% vs a 70% gate). The coverage gate only fires meaningfully in CI with a database service container. Document this explicitly so a failed local gate is not treated as a real regression.
Related
- pytest-coverage-gate-misleading-without-live-db
- db-free-test-coverage-drops-below-gate-without-postgres
- pytest-coverage-gate-skews-below-threshold-without-live-db
- 2026-04-04-oracle-001-self-architecture-analysis
- r-dash-postgres-integration-tests-skip-on-creds
- db-free-coverage-gate-integration-test-skip-inflation
- coverage-gate-artificially-low-without-live-db