Test::Depends - Gracefully skip tests if missing modules
use Test::Depends qw(Some::Module), [ SomeOtherModule => 1.1 ];
This module requires the modules that you asked for, and if some of them are not there, it will bail out and exit saying which ones and why.
Test::More
Sam Vilain, <samv@cpan.org>.
Copyright (c) 2005, 2006, Catalyst IT (NZ) Ltd. This program is free software; you may use it and/or redistribute it under the same terms as Perl itself.
For the complete history,
git clone git://utsl.gen.nz/Test-Depends
fix Win32 compatibility [Matthew Musgrove]. Releases 0.04 and 0.05 were missing Makefile.PL's and were retracted.
Uncomment debugging line :-}
:-}
If you specified import arguments to a dependency, they ended up applying to unadorned arguments further in the dependency list. Whoops! no strict
no strict
To install Test::Depends, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Depends
CPAN shell
perl -MCPAN -e shell install Test::Depends
For more information on module installation, please visit the detailed CPAN module installation guide.