When I run tests for a distribution, say CHI, I'd like to be able to
ignore any installed versions of CHI's modules. That way I know I'm
testing it as if it were a fresh install.
In the latest version I deleted a necessary module, CHI/t/
Multilevel.pm, from the distribution, but "make test" still succeeded
because CHI/t/Multilevel.pm was installed in /usr/local. I only found
out about the tests failures when it got to cpantesters.org. I've been
bitten by this type of bug several times.
One solution, I guess, is to use a fresh install of Perl that contains
just the requirements for CHI. But I'd need one of these for each CPAN
distribution I'm working on!
Am I missing something obvious?
Thanks
Jon