NAME

Dist::Zilla::Plugin::LoadTests - Common tests to test whether your module loads or not

VERSION

version 0.02

SYNOPSIS

In your dist.ini:

[LoadTests]
module = Your::Module

DESCRIPTION

This is an extension of Dist::Zilla::Plugin::InlineFiles, providing the following files:

  • t/00-load.t - a standard test to check whether your module loads or not

    This test will find check the module specified by module and try to load it. The needs_display is useful for GUI tests that need a $ENV{DISPLAY} to work.

This plugin accepts the following options:

  • module (REQUIRED): a string of the module to check whether it loads or not. otherwise it will fail.

  • needs_display (OPTIONAL): a boolean to ensure that tests needing a display have one otherwise it will skip all the test. Defaults to false.

SEE ALSO

Test::NeedsDisplay Dist::Zilla

AUTHOR

Ahmad M. Zawawi <ahmad.zawawi@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Ahmad M. Zawawi.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.