From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-10 06:42:16 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!cern.ch!news From: Dan.Pop@cern.ch (Dan Pop) Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Software Testing (was: Compaq kills Alpha) Date: 10 Jul 2001 13:18:43 GMT Organization: CERN European Lab for Particle Physics Message-ID: <9ievbj$ar2$1@sunnews.cern.ch> References: <3B37351D.5080503@cli.de> <4495ef1f.0106281109.4b460a70@posting.google.com> <8PS_6.265783$p33.5339568@news1.sttls1.wa.home.com> <9hhtur$1oj9$2@info.cs.uofs.edu> <9hi2q1$hbs@augusta.math.psu.edu> <9hj3ch$qmi$1@pyrite.mv.net> <_Ay07.62$G_1.10702@newsread2.prod.itd.earthlink.net> <3B462723.8938B09B@peoplepc.com> <3B469F39.618E0ADE@igs.net> <3B46C8C7.E2AFF889@peoplepc.com> <3B471A6C.EE8715F5@igs.net> <$KhLsMn0xNNj@eisner.encompasserve.org> <3 NNTP-Posting-Host: ues5.cern.ch X-Trace: sunnews.cern.ch 994771123 11106 (None) 137.138.32.79 X-Complaints-To: news@sunnews.cern.ch Xref: archiver1.google.com comp.sys.dec:5501 comp.unix.tru64:3317 comp.arch:13481 In Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: >In article <9idnuc$jfg$1@sunnews.cern.ch>, Dan.Pop@cern.ch (Dan Pop) writes: >> In Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) writes: >> >>>In article <9id1d7$8mg$1@sunnews.cern.ch>, Dan.Pop@cern.ch (Dan Pop) writes: > >>>> So, ideally, tests should be written, independently, by an "insider" and >>>> by an "outsider". >>> >>>While I agree with your conclusion, if the non-author of the code >>>cannot figure out what all the execution paths are, the code (and >>>comments may not be sufficiently clear). >>> >>>The person who is not the author of the code, of course, should be >>>just as skilled as the person who is the author. >> >> To avoid any kind of biasing, the "outsider" should treat the software >> module as a black box, i.e. he should have access only to its >> specification, not to its source code. Otherwise, he might fall into the >> same traps as its implementor. This was an implicit assumption in my >> previous post, so the clarity of the code and the skills of the tester >> are irrelevant to the issue. > >While that is one sort of testing, I disagree that it is sufficient. Where did I advocate it as the *only* testing method? >Only with access to the source can one devise a methodical test plan >for the most trouble-prone errors. Without that, the total cost of >testing grows astronomically. Black box testing is fine, but not as >an exclusive technique. The "insider" tester does have access to the source code, obviously. Dan -- Dan Pop CERN, IT Division Email: Dan.Pop@cern.ch Mail: CERN - IT, Bat. 31 1-014, CH-1211 Geneve 23, Switzerland