NAME
Dist::Zilla::Plugin::LoadTests - Common tests to test whether your module loads or not
VERSION
version 0.06
SYNOPSIS
In your dist.ini:
[LoadTests]
; needs_display = 1
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 try to load the module specified by
name
. Theneeds_display
is useful for GUI tests that need an $ENV{DISPLAY} to work.
This plugin accepts the following options:
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
If you need a more generic but slower test for all the packages in your distribution, please use Dist::Zilla::Plugin::CompileTests.
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.