Getting Started With Test Coverage In C# Applications
Learn Test Coverage with C#: Set up Visual Studio, NUnit, Coverlet & ReportGenerator for 100% code coverage.
Hi guys, today I am going to show a quick and simple way to get started with Test Coverage in your code. What is Test Coverage? Test coverage is the percentage of code that is tested by automated tests. That is, it measures the extent to which a codebase is covered by tests we write. Prerequisites for this tutorial; Basic knowledge of C# and Unit testing. Requirements; Visual Studio - Powerful IDE for .NET and C++ development on Windows. NUnit - Unit Testing framework for .NET. More here Coverlet - Cross-platform code coverage framework for .NET. More here ReportGenerator - Powerfu...