Hello. I am preparing to upload a new version of my
Test2::Aggregate module to CPAN. I don't like dependencies myself, so when I want to add something like an optional function that not many would use and which would require a dependency, I load the module in runtime making a note in the documentation. So,
PREREQ_PM does not contain these extra modules, however I do have tests around them that just skip if you don't have the module. The thing is, cpantesters and cpancover won't actually install the extra modules hence won't actually test these features (unless they happen to have them - but from cpancover at least I see they might not). But, if I add the modules to
TEST_REQUIRES, then any user installing the module will have the extra modules installed anyway, which is what I tried to avoid in the first place.
Comments? Should I just add them to TEST_REQUIRES and not worry about it? I bet I am being a bit too OCD, but I don't like installing things I don't use.
Thanks!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.