in reply to Re: cpan mod test probs
in thread cpan mod test probs

No need to check for its presence in your tests. If a CPAN client tries to run your tests without installing it, then it's its own damn fault that they fail
True, but I want to make sure they know the reason and how they can fix it. At least with explicit tests for the dep, I can fail and early-exit the tests so they know nothing ran and can see a message about 'why'...

Replies are listed 'Best First'.
Re^3: cpan mod test probs
by Corion (Patriarch) on Nov 08, 2013 at 09:14 UTC

    See Test::More about testing, especially the section on BAIL OUT. This is especially for when your test run detects a situation where further testing is impossible.

      That's what I used. If the prereqs aren't there, I figured, the tests aren't going to run. ;-)