-
-
09 Oct 2013 16:13:51 UTC
- Distribution: Test-CheckDeps
- Module version: 0.010
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (1)
- Testers (13415 / 19 / 1)
- Kwalitee
Bus factor: 2- 86.30% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (11.54KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Test::CheckDeps - Check for presence of dependencies
VERSION
version 0.010
SYNOPSIS
use Test::More 0.94; use Test::CheckDeps 0.007; check_dependencies(); done_testing();
DESCRIPTION
This module adds a test that assures all dependencies have been installed properly. If requested, it can bail out all testing on error.
FUNCTIONS
check_dependencies( [ level ])
Check dependencies based on a local MYMETA or META file.
The
level
argument is optional. It can be one of: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 toclassic
('requires' and 'conflicts' dependencies are checked).check_dependencies_opts($meta, $phase, $type)
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 usecheck_dependencies
though.AUTHOR
Leon Timmermans <leont@cpan.org>
COPYRIGHT AND LICENSE
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.
Module Install Instructions
To install Test::CheckDeps, copy and paste the appropriate command in to your terminal.
cpanm Test::CheckDeps
perl -MCPAN -e shell install Test::CheckDeps
For more information on module installation, please visit the detailed CPAN module installation guide.