thecode.report is in its initial release and may contain unexpected bugs or incomplete features.
thecode.report is a lightweight, Python-based tool that automatically collects, parses, and visualizes .NET code coverage results using coverlet.
It spins up a live local dashboard (via tcdr --serve) where developers can instantly explore coverage data, identify testing gaps, and export pdf reports for sharing coverage summaries.
-
Install prerequisites
-
Install thecode.report
pipx install tcdr
-
Run in your .NET project In the root of your solution (where your unit test project resides):
tcdr --serve
Then open http://localhost:8080 to explore your coverage dashboard.
-
Requirements
tcdrworks with any .NET project that hascoverlet.msbuildinstalled. The tool automatically runs Coverlet under the hood, generates the coverage JSON file, and visualizes it in a live dashboard.
- Runs Coverlet under the hood —
tcdr --serveexecutes a standard MSBuild command usingcoverlet.msbuildto generate a JSON coverage report. - Processes and enhances data — TCDR reads the coverage output, adds its own properties, and structures it for the dashboard.
- Builds a Z8ter-powered app — The processed report is moved into a
.tcdr/tcdr-appfolder ascontent/dashboard.json. - Renders via Z8ter — Z8ter serves this file as props to a React-based dashboard component.
ReportGenerator for the test project.
