Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
There are a few CPAN modules that have excessive testing time when being installed (or reinstalled). Hint: if it takes more than a minute or two, I'm likely to be irritated.
In class today, it occurred to me that these tests could be conditional upon the presence or absence of an environment variable: That way, the developer can capture the full test suite for development and maintenance (make test ALL_TESTS=1), but as an installer, I don't have to sit through the whole thing, and I can know just how little I can get away with for a first-order "ok to install" test. Please consider this if you're a module author. Be kind to your remote installer person. -- Randal L. Schwartz, Perl hacker
In reply to Skip tests if/unless $ENV{FOO} is set using Test::More by merlyn
|
|