Extreme Programming

Visual Studio and the Evil Unit Test Wizard

Sunday, July 16th, 2006
I fancy a bit of rant. And today’s punchbag is Visual Studio’s Unit Test Wizard. <rant> It is evil and it should be dropped from the product. My previous company outsourced the development of a software project and I ended up reviewing the code from the first iteration. I had concerns about some of the code; one concern ... read more

NUnit and Visual Studio 2005 Beta 2

Thursday, August 11th, 2005
I was struggling to get NUnit 2.2 to work with a VS2005 Beta 2 project. I kept getting a BadImageFormatException when I tried to launch NUnit-GUI.exe. The solution was to add the following line to the <startup> tag of nunit-gui.exe.config (and nunit-console.exe.config if you are using it from the command line): <supportedRuntime version=”v2.0.50215” /> EDIT: For the final ... read more

Test driving class libraries with NUnit and Visual Studio 2003

Tuesday, August 2nd, 2005
Recently, I was developing a class library project in Visual Studio 2003. I wanted to do Test Driven Development with NUnit, and use NUnit as the debug harness for my library. I tried several approaches but none of them seemed to work well for me. My main requirements were that: It should be version control friendly ... read more