Dist-Zilla-Plugin-RequiresExternal
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
t/externaldeps.t view on Meta::CPAN
#!/usr/bin/env perl
use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion)
use Test::More 'no_plan';
use Test::Output 1.031;
use Cwd;
use Dist::Zilla::App;
my $cwd = getcwd();
chdir 't/eg';
local @ARGV = ('externaldeps');
my $stdout = stdout_from { Dist::Zilla::App->run };
chdir $cwd;
like( $stdout, qr/man/, 'man is an external prerequisite' );
like( $stdout, qr/sqlite3/, 'sqlite is an external prerequisite' );
unlike( $stdout, qr/mysql/, 'mysql isnt an external prerequisite' );
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.807 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )