Category: enhancement
Priority: P0
PROBLEM: No automated end-to-end validation of FortCov’s markdown against a trusted baseline (pycobertura). Regressions can slip (see file-vs-line counting bug).
SOLUTION:
- New CI job:
- fpm test --flag "-fprofile-arcs -ftest-coverage"
- Generate Cobertura XML via gcovr from build artifacts
- Render markdown via pycobertura (or HTML→markdown if markdown unsupported)
- Run fortcov to produce coverage.md
- Compare key metrics (line rate, totals per file) and fail on deltas
- Upload both artifacts
- Capture tool versions; 300s cap.