On Fri, 30 Aug 2002, brian d foy wrote: >>Isn't it bad style to require a particular order for the tests?
>no. it's bad style to make test writers choose kludgey filenames. >imagine that i name a file 0.load.t, and it tests isa_ok() for >everything. that's fine. then, i have a problem with import, so i >want to write a test for that, and i want to check it after i know >everything loads. Oh I see. So even though the test cases may be in principle independent, in practice you want to run the more basic tests first (so then you can just look at the first failure to see the first thing to fix). Whether you object to names like 01foo.t, 02bar.t and so on probably depends on whether you are a SysV fan :-P. >even though BAIL_OUT isn't implemented, imagine that your first test >script checks isa_ok() for everything. if all of those don't work, you >don't want to run any other tests. But 'make test' just goes ahead and runs them anyway, doesn't it? Or is there some option to stop after the first failure? -- Ed Avis <[EMAIL PROTECTED]>
