Sunday, November 25, 2007

What is Unit Testing ?


[Ans.] Unit testing has been recently popularized by Kent Beck as part of eXtreme programming. By no means does that the only use of unit testing is within eXtreme programming - it has many uses in many different development processes ranging from the standard waterfall model to the most agile processes today.


The name "unit testing" is the key to understanding what unit testing brings to the table: the ability to test individual units of code. A class, function, SQL stored procedure, web pages, or even a specific part of a protocol (or may be whole protocol) can be considered a "unit".

And in nut shell to test a unit code known as unit testing.

No comments: