Monthly Archives: December 2008

C# mocks in action

Mike and Gabriel both posted comments to show how the Cowhand example in my last post might look and evolve with different mocking frameworks. They’ve used FluentSpec and Rhino Mocks respectively. Thanks, Mike and Gabriel! It was a pleasure to … Continue reading

Posted in bdd | Leave a comment

Given, when, then and examples for classes

Some of us have taken to writing comments in our BDD classes to give us Given, When, Then at a unit level. So, if I’m writing examples for a cowhand, I might write something like this: public class CowhandTest { … Continue reading

Posted in bdd | 9 Comments

The problem with Scrum

Spurred by Dave Anderson’s blog pointing at Tobias Meyer’s blog… I once told this story to a group of people I was training as coaches. The problem with Waterfall Once upon a time some people noticed that their software projects … Continue reading

Posted in learning models | 1 Comment

Dan and I talk about BDD at Oopsla 2007

Back last year, Vlad Gitlevich kindly made a video of Dan and I talking about BDD. We concentrated almost exclusively on the principles rather than the technology, which means the video is still very relevant. Particularly we talked about how … Continue reading

Posted in bdd, stories | Leave a comment

fail() failed…

Antony Marcano’s written a great post on testing for exceptions in a way which makes the example much easier to read, and keeps the Given / When / Then flow intact. I like this very much, and will be doing … Continue reading

Posted in bdd | 2 Comments