The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zilla::Plugin::Test::CheckDeps - Check for presence of dependencies

VERSION

version 0.014

SYNOPSIS

 [Test::CheckDeps]
 fatal = 0          ; default
 level = classic

DESCRIPTION

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

This plugin accepts the following options:

  • todo_when: a code string snippet (evaluated when the test is run) to indicate when failing tests should be considered TODO, rather than genuine fails -- default is '0' (tests are never TODO).

    Other suggested values are:

        todo_when = !$ENV{AUTHOR_TESTING} && !$ENV{AUTOMATED_TESTING}
        todo_when = $^V < '5.012'   ; CPAN.pm didn't reliably read META.* before this
  • fatal: if true, BAIL_OUT is called if the tests fail. Defaults to false.

  • level: passed to check_dependencies in Test::CheckDeps. (Defaults to classic.)

  • filename: the name of the generated file. Defaults to t/00-check-deps.t.

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-Test-CheckDeps@rt.cpan.org).

There is also a mailing list available for users of this distribution, at http://dzil.org/#mailing-list.

There is also an irc channel available for users of this distribution, at #distzilla on irc.perl.org.

AUTHOR

Leon Timmermans <leont@cpan.org>

CONTRIBUTORS

  • Karen Etheridge <ether@cpan.org>

  • Leon Timmermans <fawaka@gmail.com>

  • Brendan Byrd <GitHub@ResonatorSoft.org>

COPYRIGHT AND LICENCE

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.