>> You don't need to make these tests run for the end user to get the point.
>> All of my dists (should) ship with a pod.t and pod-coverage.t that only runs
>> in "maintainer mode".
>
> How do you do that, by the way?  How do you set it up so the test
> suite knows it's you and not an end-user?

Environment variable:

use Test::More;
if ($ENV{RUN_MAINTAINER_TESTS}) {
    plan 'tests' => 3;
} else {
    plan 'skip_all' => 'Module maintainer tests';
}

Reply via email to