Talk: Level up your approaches to Test Coverage
summary
Defines test coverage as line/branch/method metrics and shows a workflow that automates measurement and merges results from unit and integration suites, using coverlet on .NET, ReportGenerator to combine XMLs into JSON/HTML, and GitLab CI to run parallel jobs. Example numbers: unit tests show ~2.3% line / ~9% branch, integration tests ~54% line / ~41% branch, merged result ~50–56% branch. Visualization includes merge-request badges, per-line highlights, S3-hosted reports and a Grafana dashboard that stores history for trend analysis.
AI-written summary · about
chapters (15)
- 0:00Introduction and speaker intro
- 1:13Agenda and test coverage basics
- 3:51Test coverage metrics explained
- 5:42Importance of test coverage
- 8:55Test coverage as quality instrument
- 9:19Demo project structure
- 11:06Measuring test coverage methods
- 15:26Testing pyramid and coverage
- 18:42Leveling up test coverage approaches
- 20:51Automating test coverage in CI
- 23:03Visualizing test coverage results
- 26:16Merging coverage reports
- 30:31Tracking coverage in CI jobs
- 33:47Visualizing coverage history with Grafana
- 40:37Summary and key takeaways
