Unit Testing:-
• Testing
of Individual Unit (E.g. : Function, Program, Module)
1. Also
referred to as White Box Testing
2. Typically
performed by the Developer
3. Goal
of Unit testing is to uncover defects using formal techniques like:
• Resource-behavior
(e.g. memory leaks), performance or robustness testing, as well as structural
testing
• Defects
and deviations in Date formats
• Special
requirements in input conditions (for example Text box where only numeric or
alphabets should be entered)
• Selection
based on Combo Box’s, List Box’s, Option buttons, Check Box’s
• Testing
occurs with access to the code being tested, with the support of the
development environment, such as a unit test framework or debugging tool.
4.
The testing must ensure:
• Statement
Coverage
• Branch
Coverage