BDD in .NET with Cucumber part 3: Scenario outlines and tabular templates

In part 2 of this tutorial we used tables to organise scenario information efficiently. This works fine for processing lists of objects, but it requires additional code to work with Cucumber tables and it isn’t the best solution when things go wrong. In this part, I’ll show you how to save even more time and effort when working with repetitive scenarios. Continue reading

BDD in .NET with Cucumber, Cuke4Nuke and TeamCity

At the Oresund Developer conference in Sweden about two months ago, Aslak Hellesoy talked about recent changes to his Cucumber Behaviour-Driven Development tool, aimed at providing better support for platforms other than Ruby. Instead of using the tool through slow Ruby ports, .NET and Java developers got a chance to benefit from much quicker native integrations using a new wire protocol that allows Cucumber to talk to external systems. Richard Lawrence and Matt Wynne were very kind to work on a native .NET integration for Cucumber, called Cuke4Nuke, which recently got up to speed with Cucumber Ruby features. In this article, I’ll show you how to set up and use Cuke4Nuke to use Cucumber for .NET BDD development. Continue reading

FitNesse book now free online

As of now, the second edition of Test Driven .NET Development with FitNesse is free online. You can download the full PDF version or read the book online in HTML at

What’s new in this version?

Since the book was originally released, both FitNesse and the .NET FIT test runner were improved significantly. All the examples in this book are now updated to be compatible with the latest releases of FitNesse (20091121) and FitSharp (1.4). I re-wrote parts that are no longer applicable to the new FitSharp test runner, especially around Cell Operators. In a classic example of self-inflicted scope creep, I also wrote a new chapter on using domain objects directly.

I also changed the tool used for assembling the book. Instead of Apache FOP, I used XEP which will hopefully make the layout a bit better. Fonts (especially the code font) were also changed to make the book easier to read.

What about the paperback

I will make the paperback available soon. At the moment, the second edition is only available online.

OpenSource .NET Exchange III

I had a great time yesterday at the Opensource .NET Exchange III. Opensource .NET exchange is a meeting of .NET enthusiasts organised by Skills Matter every six months in London with lots of speakers giving 15 minute talks on different subjects, loosely related to opensource and .NET, with lots of time for socialising over beer and pizza. Continue reading

Get 25% off Test Driven .NET Development in Practice

I’m launching a new TDD course with Skills Matter – very practical with hands-on exercises straight from the start and very little theory just to explain how things work. Covering the latest TDD tools and practices. Get 25% off when you book by quoting get 25% off my new Test Driven .NET Development in Practice (London, 3 Aug) quote SM1604-622777-ALT at