How to convert NUnit Assert.AreEqual to fluent Assert.That syntax easily

Once upon a time it was declared that an Assert statement should have constraints given as AreEqual and AreNotEqual. Further it was declared that it should be written in the opposite way of how a developer will think, that is with the expected value first and the actual value last. Why this was made so, Continue Reading →

Issues with mixed C++ and C# projects in Visual Studio 2012 running Code Analysis

If you have projects created under Visual Studio 2010 (SP1), and mixed C++ and C# projects in the solution, and you are using other configurations than Debug/Release x86 you may hit a very strange situation when you run the Static Code Analysis, either alone, or as part of the build. You may get into a Continue Reading →

Video on Architecture and Code Quality using Visual Studio 2012–interview with Marcel de Vries and Terje Sandstrom by Adam Cogan

Find the video HERE. Updated June 28th 2012:  Marcel has blogged about this too.   Adam Cogan did a great Web TV interview with Marcel de Vries and myself on the topics of architecture and code quality.  It was real fun participating in this session.  Although we know each other from the MVP ALM community,  Continue Reading →

List of recommended books on TFS, Visual Studio, C# and C++ coding, Design and Development Process

UPDATED Jul 3rd 2013:  Added Art of Unit Testing Version 2 UPDATED Apr 11th 2013:  Added Instant TFS 2012 and Project Server 2012 Integration How-to UPDATED Jan 12th 2013:  Added Prof TFS Server 2012, TFS 2012 Starter, Pro ALM with VS 2012 and VS 2012 Cookbook UPDATED Dec 8th 2011:   Added Kanban book by David Continue Reading →

Tools for Metrics analysis – Visual Studio and NDepend / CppDepend – part 1

Introduction Recently I have been involved in some projects to improve the software quality of their code base.  These code bases have been rather large, and in some cases consisting of both managed code, C# and C++, and Native code in C++. The reasons for improving the code base comes from a realization of the Continue Reading →

Code Metrics – suggestions for appropriate limits

I like Code Metrics.  They give a certain “objective” evaluation of a piece of code.  You can use it for yourself just to make it pinpoint potential trouble areas, or just some code where you were a bit sloppy – happens from time to time……  And when you’re going to do a peer review, it’s Continue Reading →