Coverage Badge
Runs with coverage data display a coverage badge on the Test Runs list. The badge shows the overall statement coverage percentage, giving an at-a-glance indicator without opening the run.Coverage Summary
Four tiles at the top of the tab show the overall coverage for the run:
Coverage by File
A table showing coverage metrics for every source file in the report. Each row displays statements, branches, functions, and lines percentages. Sort by any column to find the files with the lowest coverage. Two view modes are available using the toggle in the top-right corner of the table:List View
A flat list of all source files with their coverage percentages. Each file shows its full path relative to the project root.
Tree View
Files grouped by directory structure. Expand or collapse folders to drill into specific areas of your codebase. Each folder row shows the aggregate coverage for all files inside it. Use Expand All and Collapse All to control the tree.
Coverage Diff
The diff view compares coverage between the current run and a baseline. It highlights files where coverage increased or decreased, making it easy to spot regressions introduced by a specific change.
The baseline defaults to the previous run on the same branch. For pull request runs, the baseline is the latest run on the target branch.
Related
Code Coverage Guide
Set up instrumentation and coverage collection
Coverage Trend
Track coverage trends across runs
Summary
Group failures and flakiness by cause
Specs
Review results by spec file