Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by snowhare (Friar)
on Oct 26, 2005 at 04:19 UTC ( [id://502940]=note: print w/replies, xml ) Need Help??


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

Any software of more than moderate complexity is impossible to fully test via blackbox testing. You can verify that for the inputs you tried it works - but without digging into the implementation you have no way to prove that although it works for Z, Y and X that it also will work for W (which may cross an internal boundary in the implementation). Exhaustive blackbox testing is usually impossible.

I remember once upon a time in high school (now a few decades in the past) that I solved a Calculus problem and got a numeric test case answer correct to 4 decimal places. My solution was wrong - I had by pure dumb luck picked a test case where my mistakes just happened to cancel out.

My numeric test case was blackbox testing. The whitebox testing of examining my actual solution was what told me that even though my test case passed, the problem solution was not correct.

Both have their place.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-23 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found