Pradeep's Blog

Google

Monday, April 24, 2006

Advantages of Unit Testing:

My project requires me to perform unit testing. Initially we did not follow test driven development, instead the tests were written only after we had some sort of a stable architecture. Writing these test made me realize the advantages of test driven development & unit testing. Here is what I think are the advantages:
  1. You get a very good understanding of the requirements.
  2. Code quality improves, because of you breaking the functionality into much smaller units for unit testing.
  3. Improves your confidence in the application you are building.
  4. I think it enables you to find the problems early.
  5. You are confident to change existing code.

0 Comments:

Post a Comment

<< Home