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 ......
OK. I lied. I said I was gonna post the first (real) part of my BDD series a while ago and I didn't. I'm currently trying to catch up a project that is kinda dragging its feet. It's actually pretty fun, cause I get to work with Troy and he is amazing. The project is finally starting to get to a point where it is going to start hitting stride, so I hope to have some real time to finish some good snippets for my BDD series soon. Thanks for your patience. Lee ......