Dist::Zilla::Plugin::SmokeTests - Tell smoke testers to run your smoke tests
version 0.002
In your dist.ini:
[SmokeTests]
This is a Dist::Zilla plugin that modifies Makefile.PL in such a way that, when run, the test argument passed to ExtUtils::MakeMaker will include your smoke tests if (and only if) $ENV{AUTOMATED_TESTING} is set. This variable is set when your distribution is being run by an automated testing (smoker) system.
test
$ENV{AUTOMATED_TESTING}
finder
This is the name of a FileFinder for finding your smoke test files to include in Makefile.PL. By default, a special value is used which references files matching xt/smoke/*.t.
Predefined finders are listed in "default_finders" in Dist::Zilla::Role::FileFinderUser. You can define your own with the [FileFinder::ByName] and [FileFinder::Filter] plugins.
The Lancaster Consensus discussion of AUTOMATED_TESTING
Dist::Zilla::Plugin::MakeMaker
Dist::Zilla::Plugin::MakeMaker::Awesome
Dist::Zilla::Plugin::RunExtraTests
Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-SmokeTests@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.
#distzilla
irc.perl.org
I am also usually active on irc, as 'ether' at irc.perl.org.
Karen Etheridge <ether@cpan.org>
This software is copyright (c) 2016 by Karen Etheridge.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::SmokeTests, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::SmokeTests
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::SmokeTests
For more information on module installation, please visit the detailed CPAN module installation guide.