Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Improving Your Code Coverage
113Likes
7,805Views
2024Feb 15
Davide shows us some tools we can use to get more and better code coverage in our unit tests. Chapters: 00:00 - Introduction 02:15 - Reviewing the demo app and unit tests 06:30 - Installing the Coverlet code coverage library NuGet package 07:45 - Installing the ReportGenerator code coverage visualization tool 08:45 - Installing the Run Coverlet Report extension 10:30 - Running the code coverage tools 14:30 - Understanding why you need good tests as well as good coverage 18:45 - Excluding code from code coverage results 21:25 - Wrap-up Resources: Learn more about the Coverlet NuGet package at https://github.com/coverlet-coverage/... Learn more about the ReportGenerator tool at https://reportgenerator.io/ Learn more about the Run Coverlet Report extension at https://github.com/the-dext/RunCoverl...

Follow along using the transcript.

Microsoft Visual Studio

335K subscribers