Test::CheckDeps - Check for presence of dependencies |
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:
requires
, but 'conflicts' dependencies are also checked.
classic
, but 'recommends' dependencies are also checked, as TODO tests.
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 the CPAN::Meta manpage 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.
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.
Test::CheckDeps - Check for presence of dependencies |