From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-13 13:54:41 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!fu-berlin.de!uni-berlin.de!s68.tc237.coslink.NET!not-for-mail From: iddw@hotmail.com (Dave Hansen) Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Debugging Methodology (was Re: Compaq kills Alpha Date: Fri, 13 Jul 2001 20:40:00 GMT Message-ID: <3b4f5308.173149198@News.CIS.DFN.DE> References: <3B46C8C7.E2AFF889@peoplepc.com> <3B471A6C.EE8715F5@igs.net> <$KhLsMn0xNNj@eisner.encompasserve.org> <3 <9idnuc$jfg$1@sunnews.cOrganization: LJK Software <9ik5ce$m0p$1@bob.news.rcn.net> <89k37.1116$IJ.142194@newsread1.prod.itd.earthlink.net> <3b4dfef0.86071834@News.CIS.DFN.DE> <71lf2WEIbblx@eisner.encompasserve.org> <3b4e069b.88035413@News.CIS.DFN.DE> <3B4F4AC4.F2740467@us.ibm.com> NNTP-Posting-Host: s68.tc237.coslink.net (64.68.237.68) X-Trace: fu-berlin.de 995056617 20984436 64.68.237.68 (16 [97677]) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.sys.dec:5767 comp.unix.tru64:3505 comp.arch:13927 On Fri, 13 Jul 2001 14:23:48 -0500, Greg Pfister wrote: >Dave Hansen wrote: [... "Testing is the process of executing a program with the intent of finding errors." vs. "The purpose of testing is to show that a program performs its intended functions correctly." ...] >Perhaps what's going on here, or perhaps not, is missing a >distinction -- if there is any -- between testing and >certification. (Gee, I'm real certain of myself, aren't I? :-) ) :-) Sometimes that idea that is so clear in my head is so hard to express in writing, for all to see and critique. > >Or more generally, between multiple levels of "purpose" and >"intention" of the testing. Yes. Or rather the idea that certification *is* testing, and vice versa. I hold it is not -- they are two different activites. The product of testing is (should be) used as an input to certification, but testing itself is not certification. > >What I have in the back of my head here are the tests being >defined in InfiniBand to define compliance with the >specification. There are compliance statements in the spec. A >workgroup of the association makes up (is making up) a collection >of tests that verify that a particular unit under test conforms >to all those compliance statements. If the box passes all the >tests, it is deemed compliant. I would put it slightly differently. The workgroup is making up a collection of tests whose purpose is to find incompatibilities (bugs) in an implementation. If the tests fail to find any such incompatibility, the unit will be said to have passed the compatibility tests. Deeming the unit "compliant" is (perhaps) dangerous. Consider that by doing so, the tests become an alternate, perhaps "superior" specification ("Superior" because there's little argument about whether a particular implementation complies: It passes or it doesn't. "Alternate" because it may differ in subtle or substantial ways from the intent or letter of the specification). > >In this case, the explicitly stated top-level purpose of that >testing is branding. Like Microsoft's "Designed for Microsoft Windows xx" program. > >A necessary sub-goal is finding errors. If the tests aren't >constructed to find errors, they don't work for the purpose of >branding. Indeed, it's worse than that. If two units from two companies pass the tests, and are thus deemed "compliant," yet don't play well together, who gets to fix it? Whose unit is "wrong?" > >And the reason somebody wants the branding is that s/he wants to >ship a product. > >There are always levels of purpose in almost every activity. And some of the "levels" have conflicting goals. "Faster, smaller, cheaper: choose any two." My point is to get the conflicting cruft out of the way: Testers should find bugs. Leave the "good enough" decisions to someone else. In terms of your Infiniband example, I would explicity state that the goal of the testing is to find incompatibilities (or bugs) rather than "prove" a unit is "compliant." Indeed, tests can *only* prove non-compliance. Regards, -=Dave -- Change is inevitable, progress is not.