Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2021-02-27 19:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found