NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I generally use... (Score:1)
as t/00use.t and then just use the modules after that. I'm deliberately ignoring the fact the use_ok ought to called at BEGIN time, as I'm not actually using any of the module's functionality in this test program.
Reply to This
Re: (Score:2)
This is similar to my approach, though I don't usually test for specific functions or methods. Once I've established that the modules can load, I leave it to individual suites to test specific modules.
(But then, I also arrange my suites so that no suite is dependent on a module that hasn't already been vetted by a previous suite. I'm just anal-retentive that way...)
--rjray