Eigen RadarAI
Analysis

GitHub lets developers track test coverage for each repository

US software development platform GitHub has opened a preview of a dashboard that tracks how much of a project’s main branch runs during automated tests. It combines coverage reports that teams upload and charts how coverage changes over time. Repository maintainers can display a target beside the latest reading without turning it into a condition for merging changes.

Artificial Intelligence··Night
Over-the-shoulder view in a bright US software studio as three developers gather at a light-ash desk to review a dimmed desktop monitor showing a repository test-coverage trend chart and target line.AI image

Projects can see which lines their tests exercise

GitHub, the US software development platform, opened a public preview of repository-level test coverage on 4 December. The display lives in the Code Quality area and measures what share of the reported lines in a repository’s default branch runs during automated tests. Teams enable Code Quality for the repository. The view uses the latest reports they upload after running tests on that branch.[1], [2]

Reports from different test suites feed one chart

Teams can upload separate Cobertura reports for different test suites or programming languages. When two reports include the same covered line, GitHub counts it once. The history updates daily and shows 30 days by default. Teams can switch to a shorter 14-day view or look back over 90 days.[1], [2]

Maintainers can put a target beside the reading

Repository administrators and maintainers can set a coverage target for the default branch. Contributors with access to the results can see it beside the latest measurement. Falling below the target leaves teams free to merge changes. The preview is open to GitHub Team and GitHub Enterprise Cloud, including customers who choose where their data is stored.[1], [2]

References

  1. News sourceGitHub ChangelogGitHub opens a repository view for test coverage↩1↩2↩3
  2. News sourceNews Desk ReportGitHub previews a dashboard for repository test coverage↩1↩2↩3