Perl: the Markov chain saw | |
PerlMonks |
Re: Should a CPAN module list Test:: modules as dependencies?by Juerd (Abbot) |
on Jul 20, 2004 at 08:13 UTC ( [id://375850]=note: print w/replies, xml ) | Need Help?? |
No. I believe that the test suite should be an entirely optional part of the distribution. If I choose to skip the "make test" step, I do not need the module at all. However, test suites are important, and having that extra module can certainly help you find bugs earlier and thus eventually help me, the user of your module. For Test:: modules, I prefer that they are included in the distribution (like Test::More often is). It does mean that you, the module author, have more to maintain. Even if your module itself can use certain modules, that does not always have to mean you have to depend on them. For example, DBIx::Simple can use SQL::Abstract, DBIx::XHTML_Table and Text::Table, but if the user decides not to use that functionality, they're never even loaded. This means more work for the users who do wish to use these features, but at least *they* can choose. Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In Section
Meditations
|
|