Unit testing is a procedure used to validate that individual units of source code are working properly. A unit is the
smallest testable part of an application. In procedural programming a unit may be an individual program, function,
procedure, web page, menu etc, while in object-oriented programming, the smallest unit is always a Class; which may be a
base/super class, abstract class or derived/child class. Units are distinguished from modules in that modules are typically
made up of units.Ideally, each test case is independent from the others. |