Subject: | Test suite fails if cpanm is not available in user's PATH |
Specifying App::cpanminus as a prerequisite is not a guarantee that cpanm is available in the user's PATH. See http://matrix.cpantesters.org/?dist=Perl-PrereqInstaller for a fail/pass overview, some (or all?) problems are because of this.
A user may decide to test first, and then install (e.g. in the CPAN.pm shell this would be: "test Some::Module", and later: "install_tested".). In this workflow cpanm would only be available in the blib/scripts directory of the App-cpanminus build directory at the time Perl-PrereqInstaller is tested. Even if the user installs everything, it could be a special perl which is not listed in PATH.