Dist::Zilla::PluginBundle::Author::MAXHQ::ExtractInlineTests - Extract inline tests from POD sections in the modules
version 0.0100021
The code of this Dist::Zilla file gatherer module is taken from https://github.com/moose/moose/blob/master/inc/ExtractInlineTests.pm.
This module scans all files for inline tests in POD sections, like e.g.:
=begin testing
use Test::Exception;
my $list;
lives_ok {
$list = My::AddressRange->list_from_range('10.2.3.1', '10.2.3.5')
} "list_from_range() doesn't die with correct input for a list of IPs";
dies_ok {
My::AddressRange->list_from_range('10.2.3.A', '10.2.3.5')
} "list_from_range() complains about invalid address";
=end testing
Required by role Dist::Zilla::Role::FileGatherer.
Searches for inline test code in POD sections and creates in-memory test files from them.
Jens Berthold <jens.berthold@jebecs.de>
This software is copyright (c) 2013 by Jens Berthold.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.