Sunday, June 26, 2011

Testing Techniques

Black Box Testing
It is not based on any knowledge of internal design or code. Tests are based on requirements and functionality. This type of testing attempts to find errors in the following categories -

1. incorrect or missing functions,
2. interface errors,
3. errors in data structures or external database access,
4. performance errors, and
5. initialization and termination errors.

White Box Testing
It is based on knowledge of the internal logic of an application's code. Tests are based on coverage of code statement, branches, paths, conditions. It is done for following -

1. guarantee that all independent paths within a module have been exercised at least once,
2. exercise all logical decisions on their true and false sides,
3. execute all loops at their boundaries, and
4. exercise internal data structures to ensure their validity.

No comments:

Post a Comment