Test::CheckDeps(3)

πŸ’– Test::CheckDeps(3) β€” your dependency vibe check πŸ’–

Okay bestie, this is the Test::CheckDeps(3) manual page, hanging out under User Contributed Perl Documentation. It's giving "tiny module, very useful energy." 🫢


🌸 NAME 🌸

Test::CheckDeps β€” Check for presence of dependencies. That's the name, that's the whole assignment. No cap. ✨


🌈 VERSION 🌈

version 0.010 β€” that's the version, bestie. Write it down. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

The whole setup is literally this:

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.

Like, all testing. On error. The drama of it all. πŸ’€βœ¨


✨ 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 to classic ('requires' and 'conflicts' dependencies are checked).

So yeah, not me picking a level without reading the room. Default is classic, periodt. πŸ‘‘


πŸ¦‹ 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 use check_dependencies though.

Lowkey: that's the "advanced mode" one. The main character is still check_dependencies. πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Leon Timmermans <leont@cpan.org> β€” that's the author, bestie. Iconic. 🫢


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.

Free software, same terms as Perl 5 β€” slay. 🌈


okay that's the whole page, bestie πŸ’– β€” the footer says perl v5.42.0, dated 2013-11-25, and this is the Test::CheckDeps(3) manual page. mwah πŸ’‹

πŸ“¦ where this page comes from