Unit Testing is a procedure used to validate that individual units of source code are working
properly. We check the functionality of single components or modules. We give different inputs and check if a single unit is working correctly.
A unit is the smallest testable part of an application.
In procedural programming a unit may be an individual program, function, procedure, etc., while in object-oriented programming, the smallest unit is a method; which may belong to a base/super class, abstract class or derived/child class.
No comments:
Post a Comment