TDD Caveat | How not to follow Test Driven Development
July 29th, 2011 by Mahendra Mavani
TDD or Test Driven Development was considered an industry buzz for a while. Now a days it is considered more of a main stream development methodology. we, at Headspring, are among those early adopters who likes to walk on cutting edge technologies.
Over last 5 year, I have transition through different stages of mind set when it comes to unit testing or TDD in general. As an early adoptor I was curious to know to what extend we can take this concept. At this stage, my unit test looked more state testing i.e
[Test]
public void Should_Add_Two_Number()
{
var number1 = 100;
var number2 = 50;
var sum = number1 + number2;
sum.ShouldEqual(150);
}
As I moved further and realize power of maintainability and loosely coupled design, Read the rest of this entry »