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: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-13 08:34:14 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!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 15:30:51 GMT Message-ID: <3b4f0a55.154534955@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> <5WXJ8i5fiqu5@eisner.encompasserve.org> <3b4ef493.148964190@News.CIS.DFN.DE> <3B4F0748.E7ED0AAE@mediaone.net> NNTP-Posting-Host: s68.tc237.coslink.net (64.68.237.68) X-Trace: fu-berlin.de 995038069 20214434 64.68.237.68 (16 [97677]) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.sys.dec:5753 comp.unix.tru64:3491 comp.arch:13906 On Fri, 13 Jul 2001 14:36:04 GMT, Jeff Kenton wrote: >Dave Hansen wrote: >> > ... >> >> You test to find bugs. You have limited resources, so you want to >> perform the tests that are most likely to find bugs. You run >> regression tests because empirical evidence shows that bugs that have >> been "fixed" tend to "reappear" in later revisions. Therefore, >> regression tests are likely to find bugs. >> > >Of course. But this begs the question of what's important when testing a new >piece of software. Do you test weird but unimportant cases, or do you think >about what matters most? > >I saw some compiler testers find out that subroutine calls with more than 255 >parameters would fail, but they neglected to notice that one of the basic >arithmetic operators wasn't implemented. You need to add judgment to your >automation. > You seem to think I'm saying something that I'm not. I'm not sure what it is, maybe "All bugs have equal importance" or "Testers shouldn't waste their time on something the programmers should have tested themselves" (although, you *have* to admit that omitting a basic arithmetic operator from a compiler is pretty egregious. ;-) But my main point is that the purpose of testing is *not* to prove the software is correct. 1) It can't. It's just not possible. 2) It sets the tester up for failure: if he finds a bug, he's failed to prove the software is correct. My response above was to the assertion that "regression testing is a case where the purpose of testing is to verify software meets its requirements." No, it's not. The purpose of regression testing is to find "fixed" bugs that have reappeared. This is a very common class of bug, and therefore regression testing is likely to find bugs. If it was not likely to find bugs, it would not often be done. As to your compiler example, it seems hard to imagine a competent test team that wouldn't at least stumble on the fact that a particular operator was missing. I don't know what language this was, but with C there are so many neat little precedence and promotion tricks that you can try, along with operations that are legal only with certain types, that it must show up somewhere. I think it falls into the class of "low-hanging fruit" to which Bill Todd referred in a different post. Regards, -=Dave -- Change is inevitable, progress is not.