Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by robharper (Pilgrim)
on Oct 25, 2005 at 15:55 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://502763]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found