I've to admit it: I never wrote many tests for the code I wrote. Probably one of the reason is that the last timeĀ I wrote something from scratch, with enough time to convince the other members of the team to try a new approach, was before the TDD became known to the general audience. I only wrote some test for small part of the code, or to expose some bugs and later fix them. But 2 months ago, I had to design from scratch a small web application: and again I didn't have the time to sit down, look around...