How to calculate code coverage in .NET and integrate it with Azure DevOps

How to calculate code coverage in .NET and integrate it with Azure DevOps

HomeArtem GrabovskiHow to calculate code coverage in .NET and integrate it with Azure DevOps
How to calculate code coverage in .NET and integrate it with Azure DevOps
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
Support my channel on the Patreon platform: https://www.patreon.com/ArtemGrabovski

Hi! I'm Artem Grabovski and today we'll discuss how to efficiently use code coverage tools in .NET and integrate them with Azure DevOps.

In this video we discuss the following questions:

– Which open source library could you use to calculate code coverage in .NET?
– How to visualize code coverage reports?
– How to integrate code coverage into YAML build pipelines in Azure DevOps?
– How do I control advanced settings for code coverage tools?

0:00 Introduction to code coverage.
1:26 Demo. Integrate code coverage into the project.
4:50 Demo. Visualize the coverlet report with the Report Generator.
7:27 Demo. Integrate code coverage into YAML build pipelines in Azure DevOps.

Coverlet: https://github.com/coverlet-coverage/coverlet
Report generator: https://github.com/danielpalme/ReportGenerator

My personal book recommendation on unit testing: https://amzn.to/3LuqJTl

Plainzer, free dividend tracker app: https://plainzer.com

My setup for YouTube videos:

– Microphone. Elgato Wave 3: https://amzn.to/3nitJc6
– Camera. Anker PowerConf C200: https://amzn.to/44fXqLz

Follow me:

– LinkedIn: https://www.linkedin.com/in/artemgrabovski
– Instagram: https://www.instagram.com/artemgrabovski

#dotnet #csharp #codecoverage #coverlet #unittesting #azuredevops

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.