Posts

Showing posts from July, 2013

TDD - Test Driven Development

Image
Hi guys I'm back. This was my hands on TDD experience. And it was really awesome topic when I got to know it.. Test Driven Development is basically runs on test cases. In traditional development methods, we design the system and then code it. Then only we check in to testing phase. And the issue in this is you exactly don't know what you developing. Which classes inside will be used for the system. There can be unused  methods in the code which will definitely effect on the efficiency of the system. BUT , when it comes to the TDD what happens is the requirements will be gathered and then few test cases will be created covering all the possibilities in the system. So the developer will implement the system step by step to pass the tests. The benefit of this method is that you can develop the system with less codes and only the needed parts. It will work efficiently. I wrote a simple FizzBuzz code and for that i have written a test case.. Check this out :) Comments...