Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2020-10-26 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (253 votes). Check out past polls.

    Notices?