* On Mon, Nov 09 2009, David Cantrell wrote: > On Mon, Nov 09, 2009 at 11:41:21AM +0100, Philippe Bruhat (BooK) wrote: >> On Mon, Nov 09, 2009 at 02:24:11AM -0800, Ovid wrote: >> > Thinking about this more, what about a compile_ok()? >> compile_ok() would certainly be interesting with scripts shipped with >> a module, that usually have very little meat that needs testing (since >> most of the work is done in the modules), but that one would at least >> check that they compile. > > Why not test that the script *works*, not just that it compiles?
Why use a script at all? They are clearly difficult to test, and code that is difficult to test is where the bugs always hide. (Yeah, this is a bit of an old thread, but I am behind on my mailing list mail :) Regards, Jonathan Rockway -- print just => another => perl => hacker => if $,=$"