What is White Box Testing?

Source:  The International Obfuscated C Code Contest (Hines)

[QUESTION]:  What is White Box Testing?

[JOHN’S ANSWER]:  First you ask me about black box testing, then you ask me about white box testing.  Why don’t you just call it white trash testing?  Why can’t this world just get along?  Why do we need to judge boxes by the color of their cardboard?  It’s all about character, not color, I say.

[CORRECT ANSWER]:  It’s testing something that you expect to work in a certain way and have detailed knowledge of how it actually works inside.  A good example would be gaining access to the programming source code of a product that you are testing.  A tester may identify potential bugs and vulnerabilities in the product by reviewing the source code.  Without such access, these problems would be harder to find.

[JOHN]:  Oh, I see you what you mean.  The code above is a great example of what you are talking about.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

What is Black Box Testing?

Source:  Kansas Geological Survey, The University of Kansas

[QUESTION]:  What is Black Box Testing?

[JOHN’S ANSWER]:  It’s testing a box that happens to be black.  I really don’t why people keep asking me this question.  How complicated is a box and why does is always have to black?  Is this a racial thing?

[CORRECT ANSWER]:  It’s testing something that you expect to work in a certain way, but have very limited, if any, knowledge of how it actually works inside.  For example, you could be a genius mathematician given the job to test a calculator.  You press the right keys and you get the right answer in the display.  You know that it’s the right answer because you calculated the same problem by hand with a pencil and paper just to make sure.  You don’t need to know anything about the circuitry inside the calculator to determine whether the calculator works.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Random Site Quotes

“Huh.”
© 2009-2011 TestDeveloper.com
Powered by WordPress
Content provided by John L. Whiteman and his Slam Carrot Long Ears Gang