This question came up after one of our previous post – Understanding Code Coverage – How to determine which portion of code is being tested in Visual Studio ? . We discussed about different colors of code coverage area and how it looks like when the code is covered, not covered or partially covered. For […]
Understanding and maintaining the code coverage is one of the most important aspect of writing unit tests and ensures the code quality with respect to functional points . Once you write the Unit tests in Visual Studio and manage them using Test Explorer, the next immediate job for you would be understand what code you […]
This Tips explains how we can enable code coverage in Visual Studio for specific assembly during unit test run. Enabling this setting will help to view the covered code block on every run of unit test.