Category Archives: Unit Testing

MSBuild Task for PartCover

<![Rant[ I continue to lament the dearth of option for Test Coverage in the .NET world. In the Java world you have open source tools like Emma and Cobertura that are widely used and supported (and many more) as well … Continue reading

Posted in .NET, Unit Testing | Tagged , , , | 15 Comments

On Singletons

The Singleton Pattern is one of the most widely used patterns from the Gang of Four (GoF) Desgin Patterns Book. One the reasons that it’s so widely used, I think, is because it’s also very easy to understand. The basic … Continue reading

Posted in Code, Unit Testing | Tagged , | 2 Comments

Mocking .NET Objects with NUnit

NUnit is my Unit Testing tool of choice for .NET development. Microsoft provides a unit testing framework but it only works with some higher-end versions of Visual Studio. They’re so similar that it’s almost ridiculous that Microsoft created their own … Continue reading

Posted in .NET, Code, Unit Testing | Tagged , , , | 17 Comments

MSBuild with NUnit

I’ve written about Unit Testing and Build Automation in the past, but mostly dealing with Java projects and tools (because I usually write about things I’m working on at the time). Well, I’ve started a .NET project for the first … Continue reading

Posted in .NET, Automation, Code, Unit Testing | Tagged , , | 6 Comments

jMock For Mocking Unit Tests

Ok, so I might not exactly be on the cutting edge with this post, but I just started playing with jMock, a framework for creating Mock objects. Mock objects are used to isolate various layers of an application by providing … Continue reading

Posted in Code, Java, Unit Testing | Tagged | Leave a comment

Relentless Build Automation

How far is going to far when you are doing build automation? My answer to that question, is that it’s basically not possible to go to far. Any task that you need to do more than three times deserves automation. … Continue reading

Posted in Automation, Code, Java, Unit Testing | 7 Comments