Let us know all About Gray Box Testing

Discussion in 'Programming' started by yogindernath, Jun 7, 2009.

  1. #1
    Code coverage testing involves "Dynamic Testing" methods of executing the product with pre-written test cases and finding out how much of code has been covered. If a better coverage of a code is desired, several iterations of testing may be required. For every iteration, one has to write a new set of test cases for covering those portions of code that were not covered by earlier test cases. To do such type of testing, not only does one need to understand the code and logic but also need to understand how to write effective test cases that can cover good portions of the code.
    Understanding of code and logic means white box or structural testing whereas writing effective test cases means black box testing. So, what we need is in fact a combination of white box and black box techniques for test effectiveness. This type of testing is known as gray box testing'.

    Thus we can say that

    WHITE + BLACK = GRAY

    What is Gray Box Testing?

    Black box testing focuses on software's external attributes and behavior. Such testing looks at an application's expected behavior from the user's point of view. White box testing / glass-box testing, however, tests software with knowledge of internal data structures, physical logic flow, and architecture at the source code level. White box testing looks at testing from the developer’s point of view.

    Read the complete article at:
     
    yogindernath, Jun 7, 2009 IP