Geeks With Blogs
Simon Laroche's Blog
In Refactoring to Patterns, Joshua Kerievsky describes the chain contructor refactoring that can be used to remove duplicate code when a class has many contructors. I've been coding in C# for a while now and I never figured out how to chain constructors. As it turns out, its extremely simple. You just make the call by adding a colon and then the this ......

Introduction Having recently attended a Test Driven Development workshop given by Scott Belware here in Montreal, I have been thinking on how I could apply the principles of TDD to the software I develop using the Nolics.NET O/R Mapper. TDD During Scott's workshop one of the main points was to use dependency injection and the strategy pattern to reduce ......

I ran into some problems trying to automate test fixtures build with the .NET Framework 2.0 using Cruise Control .NET, NAnt and NUnit 2.2 I would get a BadImageFormatException when my NAnt script got to the NUnit2 Task. As it turns out, the same error occurs in the NUnit GUI if it is not configured to use the correct .NET Framework version. To support ......

I have been looking at the NUnit 2.2.3 release and it seems that TestRunner interface as been modified. There is no more Out and Error properties.

I think this means that a new NAnt task will be needed in order to run tests build with NUnit 2.2.3.



Copyright © Simon Laroche | Powered by: GeeksWithBlogs.net