What is the essence of TDD?

It kinda irritate me when people talk about TDD being write test first before you write code – and simply stop there. I don’t think this sufficiently captures the essence of TDD, and I suspect that in some cases this is simply regurgitation of some textbooks.

To me TDD is also:

  1. Treat unit testing as a first class process in the SDLC
  2. Use unit test as a key quality control mechanism
  3. Design your code and architecture so that it is testable
  4. Treat and maintain test code as first class citizen

What is TDD to you?

Advertisement

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.
This entry was posted in TDD. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s