Moq – the next mock object framework

Sunday, April 20th, 2008

Daniel Cazzulino did a show and tell on Moq, a mock object framework that uses lambda expressions and fluent interfaces to try and improve the usually kludgy feel of creating mock objects. Scott Hanselman talks about some of the other approaches here. There really doesn't seem to be a completely ...

Introducing DDD – Date Driven Development

Wednesday, February 13th, 2008

I feel of all the *DD movements this one has the best chance of succeeding. Largely because unlike Test or Behavior Driven Development this requires people to only remember one letter, 'D'. It's also what a lot of people are doing already.

Continuous Integration in Visual Studio 2008

Tuesday, January 8th, 2008

Martin Woodward has a PowerPoint deck available on his blog. This covers the new features of Visual Studio team System 2008 with lots of information on the "Visual Studio 2008 Team Foundation Server Build" feature. I've not had a chance to try out the new Team Build features for CI ...

Gotchas: Upgrading your unit test projects to VS 2008

Monday, January 7th, 2008

Consider the following test... [TestMethod] [ExpectedException(typeof(ArgumentException))] public void TestExpectedException() { throw new ArgumentException("Bad argument"); } All looks pretty trivial right? You'd expect this to pass and indeed on my VS 2008 box it works fine. If you've upgraded your test project ...

Gotchas: MSTest AppDomain changes in VS 2008

Friday, January 4th, 2008

Here's something we at p&p ran into the other day while moving some of our unit tests from Visual Studio 2005 to 2008. This was actually on the EntLib forum and a bug logged by the community against the issue with the MSTest team. Unfortunately it didn't get fixed but ...