// Arrange Act Assert

Jag Reehal on Agile Development, ASP.NET MVC and all manner of good stuff


Why releasing code without unit tests as deadlines loom is the same as resorting to playing the 'long ball' in football when you’re losing

Posted on | January 25, 2009 | No Comments

At the last developer developer developer day (DDD7) a few months ago I heard Ian Cooper talk about developers who stopped practicing TDD or even worst still stop writing unit tests altogether as the deadlines approached.

I’ve just seen Seville who are second in the Spanish Football League resort to playing long balls that wouldn’t look out of place at Bolton or Blackburn. What’s more there’s no Sam Allardyce in sight. Seville were losing 2-0 at home against mid-table Racing Santander. With more than twenty minutes to go and playing against ten men, a team who are more than capable of playing it ‘on the deck’ started hoofing it. They still lost 2-0

Barcelona on the other hand have scored no less than 33 goals in the last twenty minutes of their games this season (see here). Even when coming from behind they still manage to play the kind of mouth watering football you expect from them.

So next time a deadline approaches ever closer don’t just sell your soul and ditch unit testing, try and play it cool and remain true of what you believe in.

Comments

Leave a Reply