Unit testing is the testing of individual components (units) of the software. Unit testing is
usually conducted as part of a combined code and unit test phase of the software
lifecycle, although it is not uncommon for coding and unit testing to be conducted as two
distinct phases.
The basic units of design and code in Ada, C and C++ programs are individual
subprograms (procedures, functions, member functions). Ada and C++ provide
capabilities for grouping basic units together into packages (Ada) and classes (C++).
Unit testing for Ada and C++ usually tests units in the context of the containing package
or class.
View Complete Post