From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,71c35a0e73c110d5 X-Google-Attributes: gidfcda7,public X-Google-Thread: fa528,71c35a0e73c110d5 X-Google-Attributes: gidfa528,public X-Google-Thread: 1164f8,71c35a0e73c110d5 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10872d,71c35a0e73c110d5 X-Google-Attributes: gid10872d,public X-Google-Thread: 11035d,71c35a0e73c110d5 X-Google-Attributes: gid11035d,public X-Google-Thread: 115614,71c35a0e73c110d5 X-Google-Attributes: gid115614,public X-Google-ArrivalTime: 2003-08-04 12:05:27 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: bob_jenkins@burtleburtle.net (Bob Jenkins) Newsgroups: comp.sys.hp.hpux,comp.unix.tru64,comp.sys.dec,comp.unix.solaris,comp.sys.sgi.admin,comp.unix.aix Subject: Re: Free UNIX for non-commerical use. Date: 4 Aug 2003 12:05:26 -0700 Organization: http://groups.google.com/ Message-ID: References: <3F233C74.4F4C3BAB@ntlworld.com> <3F23A005.83B7C2DA@hotmail.com> <3f23a698$0$15040$cc9e4d1f@news.dial.pipex.com> <3F251918.B861101C@ntlworld.com> <3F2C375C.F3C56116@ntlworld.com> <3F2CE0CD.F7F6E3BF@ntlworld.com> NNTP-Posting-Host: 148.87.1.171 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1060023927 1742 127.0.0.1 (4 Aug 2003 19:05:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 4 Aug 2003 19:05:27 GMT Xref: archiver1.google.com comp.sys.hp.hpux:30104 comp.unix.tru64:10520 comp.sys.dec:16592 comp.unix.solaris:164758 comp.sys.sgi.admin:18902 comp.unix.aix:54330 "Dr. David Kirkby" wrote in message news:<3F2CE0CD.F7F6E3BF@ntlworld.com>... > Uli Link wrote: > > > However, it is easy to not think to write a specific test - only after > > > you found a bug and realised my tests don't check for that problem. So > > > I add a test to the testsuite. > > > > Every engineer must lern to check the fault bandwith together with the > > measured results. > > True. But sometimes you don't easily realise the fault bandwidth, or > know it is too large. If a program has 10 command line options, its > easy to check those 10 in isolation. More difficult to test all 2^10 > possible combinations. Or 2^100 combinations of 100 options ... It is, however, often feasible to test all pairs of options, or even all triples. That'll catch the most offensive bugs. The number of testcases required for that grows with the log of the number of options instead of exponentially. I checked with one such tool. Given 10 options, it took 8 testcases to cover all settings of all pairs of options and 18 to cover all triples. 100 options required 16 testcases for all pairs and 52 for all triples.