Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: (OT) Black- vs. white-box testing

by Anonymous Monk
on Oct 25, 2005 at 18:05 UTC ( #502814=note: print w/replies, xml ) Need Help??

in reply to Re: (OT) Black- vs. white-box testing
in thread (OT) Black- vs. white-box testing

As for white box and black box. Let's use maze as an example to explain this. If you draw your maze on a piece of paper, when I look at that piece of paper, I see a white box. If I am going through a real hay maze, I am seeing a black box.

No, white box testing is the map of all the distinct entrances and exits; you verify that each entrance leads to the correct exit, and that if you follow the right path, you'll come out in the right place. You're making sure that the design of the maze looks good, by looking at an arial map or satelite photo.

Black box testing is like standing there with a clipboard and noting: "Bill went in exit A, and came out exit B. Check! Sally went in entrance B, and came out exit D. Check! Fred went in entrace C, we heard loud screaming, and then silence. Hmm... the system appears to ocassionally hang when entrance C is used, especially when the input person enters carrying buckets of blood or raw steaks... interesting..."

Debugging is actually wandering through the actual maze, in order to hunt down the monsters inside. Overflying the maze with a helicopter and a shotgun is using "perl -d". :-)

  • Comment on Re^2: (OT) Black- vs. white-box testing

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502814]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2021-03-02 20:54 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (62 votes). Check out past polls.