How to exclude code from Code Coverage in Visual Studio unit testing using runsettings

Download:  VS2012 Runsettingstemplate   VS2013 Runsettingstemplate The VS2012/13 unit test feature can generate code coverage results.  It can do so for (nearly) any type of adapter you choose to use, MSTest, CPPTest (managed/native), XUnit and NUnit (but not Chutzpah (note 1)). Assume you have a project with a set of unit tests included.  For this demonstration Continue Reading →