Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Check for presence of dependencies

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Dist/Zilla/Plugin/Test
t
xt/release
.gitignore
CONTRIBUTING
Changes
LICENSE
README.md
dist.ini
weaver.ini

README.md

NAME

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

VERSION

version 0.012

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.

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.

CONTRIBUTORS

Something went wrong with that request. Please try again.