Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Check for presence of dependencies

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 xt
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CONTRIBUTING
Octocat-spinner-32 Changes
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 dist.ini
Octocat-spinner-32 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.