1Test::CheckDeps(3)    User Contributed Perl Documentation   Test::CheckDeps(3)
2
3
4

NAME

6       Test::CheckDeps - Check for presence of dependencies
7

VERSION

9       version 0.010
10

SYNOPSIS

12        use Test::More 0.94;
13        use Test::CheckDeps 0.007;
14
15        check_dependencies();
16
17        done_testing();
18

DESCRIPTION

20       This module adds a test that assures all dependencies have been
21       installed properly. If requested, it can bail out all testing on error.
22

FUNCTIONS

24   check_dependencies( [ level ])
25       Check dependencies based on a local MYMETA or META file.
26
27       The "level" argument is optional. It can be one of:
28
29       •   requires
30
31           All 'requires' dependencies are checked (the configure, build, test
32           and runtime phases are always checked, and the develop phase is
33           also tested when AUTHOR_TESTING is set)
34
35       •   classic
36
37           As "requires", but 'conflicts' dependencies are also checked.
38
39       •   recommends
40
41           As "classic", but 'recommends' dependencies are also checked, as
42           TODO tests.
43
44       •   suggests
45
46           As "recommends", but 'suggests' dependencies are also checked, as
47           TODO tests.
48
49       When not provided, "level" defaults to "classic" ('requires' and
50       'conflicts' dependencies are checked).
51
52   check_dependencies_opts($meta, $phase, $type)
53       Check dependencies in CPAN::Meta object $meta for phase $phase
54       (configure, build, test, runtime, develop) and type $type(requires,
55       recommends, suggests, conflicts). You probably just want to use
56       "check_dependencies" though.
57

AUTHOR

59       Leon Timmermans <leont@cpan.org>
60
62       This software is copyright (c) 2011 by Leon Timmermans.
63
64       This is free software; you can redistribute it and/or modify it under
65       the same terms as the Perl 5 programming language system itself.
66
67
68
69perl v5.36.0                      2023-01-20                Test::CheckDeps(3)
Impressum