The Way I've Come To See BDD Over the last year and a half, I have been moving from TDD to BDD. For those who don't know, this is not a tool or technology switch so much as it is a mental paradigm shift. Luckily, I didn't work in a lot of shops that ever did a lot of unit testing (testing units of code after you write them). Most often, we'd be under time crunches that forced PMs to make the decision to forego unit testing in order to meet a hard deadline that they got from some estimation crystal ......
To ease the transition from TDD to BDD, I have built my own little base class and stolen Scott Bellware’s extensions from SpecUnit.net to make my own BDD style specification framework. It keeps things simple and means very little transition pain from the NUnit testing we were doing. The base class is called SpecificationBase. It simply ties into the NUnit test methods. 1: using NUnit.Framework; 2: 3: namespace Application.Specifications.... 4: { 5: [TestFixture] 6: public abstract class SpecificationBase ......
For some reason, I've been obsessed with Behavio(u)r Driven Development for the last few months. I've only been doing TDD for a little over a year, and I am totally loving what it's done for my design, so why would I look for something else? It's NOT something else. Dave Astels says, "Behavior Driven Development is what you are doing already if you are doing Test Driven Development very well." BDD is how we're supposed to be doing Test Driven Development. The problems that people end up having with ......
I realize I have been a bit quiet the past few weeks, but we just kicked off the first iteration of a new project at work, so still settling into the project groove. Luckily, the team I am on is outstanding, so there has been good progress made for the first iteration. Now, for the real purpose of this post. I've been a TDD enthusiast for about a year now and have been reading and watching videos about BDD the past few months and I am really intrigued. I have been trying it over the past week (using ......