Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by robharper (Pilgrim)
on Oct 25, 2005 at 15:55 UTC ( #502763=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

I mean: I see how one can test an implementation against a specification of an interface. What are "tests written against the implementation"?

One of the usual techniques is to examine the code as written and find all the decision points, which will lead to discovering all the possible paths of execution through the code. Tests can then be written to "exercise" each of these possible paths to ensure that every line of code behaves as expected.

It is arguable how often this is useful and, of course, refactoring is likely to render some of these tests obsolete.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2019-10-21 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?