Test::CheckDeps - Check for presence of dependencies
version 0.010
use Test::More 0.94; use Test::CheckDeps 0.007; check_dependencies(); done_testing();
This module adds a test that assures all dependencies have been installed properly. If requested, it can bail out all testing on error.
Check dependencies based on a local MYMETA or META file.
The level argument is optional. It can be one of:
level
requires
All 'requires' dependencies are checked (the configure, build, test and runtime phases are always checked, and the develop phase is also tested when AUTHOR_TESTING is set)
classic
As requires, but 'conflicts' dependencies are also checked.
recommends
As classic, but 'recommends' dependencies are also checked, as TODO tests.
suggests
As recommends, but 'suggests' dependencies are also checked, as TODO tests.
When not provided, level defaults to classic ('requires' and 'conflicts' dependencies are checked).
Check dependencies in CPAN::Meta object $meta for phase $phase (configure, build, test, runtime, develop) and type $type(requires, recommends, suggests, conflicts). You probably just want to use check_dependencies though.
$phase
$type
check_dependencies
Leon Timmermans <leont@cpan.org>
This software is copyright (c) 2011 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::CheckDeps, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::CheckDeps
CPAN shell
perl -MCPAN -e shell install Test::CheckDeps
For more information on module installation, please visit the detailed CPAN module installation guide.