25 Oct
2009

Integration Test Brought to you by Powershell & NUnit – with a Little Specification Syntax for Flavoring

One of the tools I?ve used the last half of a year and really enjoyed is the C# specification extension methods when writing unit test assertions. If you?re looking for a little more background on the topic, I wrote about Fluent Specification Extensions in a past blog. Recently I wanted to execute a PowerShell script […]

Read More
24 Aug
2009

Visual Studio Team System for Small Teams

There was a recent brouhaha on Twitter and in some blogs about the appropriateness of Team System in small teams. The gist of the discussion was simply that there are a lot of alternatives to TFS and VSTS tooling and many of them come cheaper out of the box. In many cases, free! Duh. I […]

Read More
7 Jul
2009

Fluent Context Builders

One thing I?ve been doing more and more of, especially as I use MSpec and context/spec driven development, is using lambdas and fluent-interface style programming to capture the essence of the spec?s I?m working on and keep them separate from the details of the code that implements them. What the heck does that mean? Well, […]

Read More
16 Oct
2008

A Primer on ALM in the Microsoft Stack

By now I you’ve likely heard the term ALM. For the uninitiated, here is the latest from Wikipedia. Application lifecycle management (ALM) regards the process of delivering software as a continuously repeating cycle of inter-related steps: definition, design, development, testing, deployment and management. Each of these steps needs to be carefully monitored and controlled. Does […]

Read More
29 Jul
2008

How to show Log4Net info in NUnit (from NHibernate)

OK, simple little problem.  You are trying to figure out a problem with an NHibernate mapping file, you know that NHibernate uses Log4Net to log all sorts of interesting info, but you aren’t seeing it when you run your NUnit tests. Solution: 1. Add an app.config to your test project (if there isn’t one there […]

Read More
17 Jul
2008

It’s the little things

A while ago, I wrote a blog post regarding Test Data Builders Refined. Earlier this week, I wrote a very simple base class that provides an implicit cast operator for the builder class: public abstract class TestDataBuilder<TSubject> { public abstract TSubject Build(); public static implicit operator TSubject(TestDataBuilder builder) { return builder.Build(); } } Even I […]

Read More