Tag Archives: code coverage

Workaround for excluding assemblies from code coverage in TFS2015 build

Our build server is TFS2015 and Microsoft promises that we can customize code coverage analysis. But with runsettings setup to exclude assemblies from code coverage exceptions fail the build. Not nice. Today we figured out how to work around this and exclude an … Continue reading

Posted in Development | Tagged , , , | Leave a comment

MSTest Code Coverage with runsettings

I’ve been fine tuning my code coverage runsettings file for some time now and I’m ready to share it with the world. You can use it in Visual Studio by setting the test settings file. In MSBuild you can specify … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

TestMatrix

I’ve been using the GhostDoc extension from SubMain for some time. It puts those triple slash (///) documentation tags above my csharp code for me. All I have to do is hit some shortcut keys. Although I never posted about … Continue reading

Posted in Tooling | Tagged , , , , , , | Leave a comment

ExcludeFromCodeCoverage and Linq

Visual Studio has an attribute called ExcludeFromCodeCoverage to exclude a method from code coverage. But when you use Linq the predicate is included. See sample screenshot below where the code is called with an empty list in the repository. Looking … Continue reading

Posted in Development | Tagged , , | Leave a comment

NDepend – first look

Earlier this year Patrick Smacchia from NDepend contacted me on linked-in. He would offer me a professional license to blog about his product. Now I finally have the time to keep my end of the bargain. Since the features are … Continue reading

Posted in Tooling | Tagged , , , , , , , | Leave a comment