Last month, I attended a training about Test Driven Development (TDD). At the beginning, I really was not not sure if I should go for such training or not. However, I found that it really worths for me. In this post, I will briefly describe what Test Driven Development is.
Test Driven Development or TDD is simply writing the test or test cases first before writing the code. After the test is written, programmer writes the code that makes the test passes. Then more and more test cases are written and the code is modified to make those test cases pass. During that process, the code is always re-factored and enhanced for better quality.
Although I already worked as a developer and also have experience as a tester, really TDD was something different to me and I was not used to it at the beginning. However and as the course proceeded with exercises, other attendees and I started to get the idea. That exactly what suppose to happen in any software development organization planning to implement TDD. Software programmers need sometime to get used to TDD and to do it in the most efficient way. The result will be better code quality and I am sure it is what all software development organizations are striving for.
Finally, you may refer to the a quote I posted in my blog previously about TDD. Hope it helps you understand TDD better. Please click here to view that quote.
All the best…