Thursday, June 12, 2008

Unit Testing


A unit test
is a procedure used to verify that a particular module of source code is working properly. The idea about unit tests is to write test cases for all functions and methods so that whenever a change causes a regression, it can be quickly identified and fixed. Ideally, each test case is separate from the others; constructs such as mock objectscan assist in separating unit tests. This type of testing is mostly done by the developers and not by end-users.

No comments: