The Fundamentals of Software Testing for Amateurs, Professionals, Novices and Experts. Welcome to the Glamorous World of Software Testing. Jim Morrison said, "Let's just say I was testing the bounds of society. I was just curious."

Gray Box Testing

Gray Box Testing Definition, Example, Application, Advantages, Disadvantages

DEFINITION

Gray Box Testing is a software testing method which is a combination of Black Box Testing method and White Box Testing method. In Black Box Testing, the internal structure of the item being tested is unknown to the tester and in White Box Testing the internal structure in known. In Gray Box Testing, the internal structure is partially known. This involves having access to internal data structures and algorithms for purposes of designing the test cases, but testing at the user, or black-box level.

Gray Box Testing is named so because the software program, in the eyes of the tester is like a gray/semi-transparent box; inside which one can partially see.

EXAMPLE

An example of Gray Box Testing would be when the codes for two units/modules are studied (White Box Testing method) for designing test cases and actual tests are conducted using the exposed interfaces (Black Box Testing method).

LEVELS APPLICABLE TO

Though Gray Box Testing method may be used in other levels of testing, it is primarily useful in Integration Testing.

ADVANTAGES OF GRAY BOX TESTING
  • Determine from the combination of advantages of Black Box Testing and White Box Testing.
DISADVANTAGES OF GRAY BOX TESTING
  • Determine from the combination of disadvantages of Black Box Testing and White Box Testing.
Note that Gray is also spelt as Grey. Hence Grey Box Testing and Gray Box Testing mean the same.

I am a Desert Fox

When I was young
I did the White Box

During the dark years
I did the Black Box

Now that my hair is turning gray
And the nights are turning into day
I am into the Gray Box

I am the Desert Fox, Fox, Fox

PROBABLY RELATED POSTS



4 comments:

Preston K Redlon said...

Ha, Ha! I could not resist that poem.

kinjal said...

Thanks for this information. this will help me a lot.

Regards,
For NCrypted,
Kinjal Pandya

Preston Redlon said...

You're welcome, Kinjal.

BTW, you are the FIRST commenter on this site (My FIRST site) and I guess I'll remember you forever. Thanks to you too.

Anonymous said...

Thks, this information is simple and useful. :)

Guess I'll be the second you will remember, lol :P


RitZ

Post a Comment

Software Testing Fundamentals is dedicated to providing you relevant information on the basics of various aspects of software testing. The field of Software Testing, as opposed to Software Development, might not look glamorous to some but it is exciting to many of us and this site is devoted to share that excitement along with valuable information. Most of the articles here are compilations from various resources and experiences. In no way do we claim that we are the authoritative voice in this field and all our articles are open for discussion (See the open comment boxes). We advise you to apply the knowledge gained from this site at your own discretion. Nevertheless, we are committed to thorough research and we always welcome your contribution. And, of course, we will appreciate your reporting of any defects or enhancements you encounter on this site.