When we started our current project we did not use context/specification style testing , instead we used testcase-per-class with a four-phase test model (also known as arrange-act-assert ). Although we followed story-test driven development (STDD) we were not explicitly Behavior-Driven Development BDD...
Roy has a pretty thoughful post on the barrier to entry for most developers with Test-Driven Development. I hope I am not doing Roy a disservice by summarizing it as: we have made TDD unapproachable to many by making it more and more complex. I would agree with many of the points that Roy makes about...
It's been a while. I have been heads down on a new project (more about that some other time), and have not got around to posting. Without further ado here is the follow up post to TDD and Hart To Test Areas, Part 1 . Depend upon Abstractions The Gang of Four’s first principle is to program against...
I'll be back on LINQ architecture after the holidays, but in the meantime, I wanted to share some of the bad, some of the places where we have had bitter experiences. When NMock first appeared we embraced the behaviour verification style that it supported. We liked the idea that for 'unit tests'...