About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (21)
- Development (208)
- Security (17)
- Test (32)
- Tooling (166)
- Uncategorized (168)
Most used tags
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
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
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 Add-in, code coverage, Profiler, TestMatrix, unittest, visual studio, Visual Studio 2012
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
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 attributes, code coverage, dependency graph, dependency matrix, express, ndepend, unittest, Visual Studio 2012
Leave a comment