App-pmdeps
view release on metacpan or search on metacpan
xt/show_deps_by_metacpan.t view on Meta::CPAN
\tHash::MultiValue
\tIO::Handle::Util
\tLWP::Protocol::http10
\tLWP::UserAgent
\tLog::Log4perl
\tMIME::Types
\tStream::Buffered
\tTest::Pod
\tTest::Requires
\tTest::TCP
\tTry::Tiny
\tURI
\tparent
EOS
};
subtest 'with perl-5.016003' => sub {
subtest 'all' => sub {
my ($got) = capture {
App::pmdeps->new->run( '-p', '5.016003', 'Plack', '1.0027' );
};
xt/show_deps_by_metacpan.t view on Meta::CPAN
\tHash::MultiValue
\tIO::Handle::Util
\tLWP::Protocol::http10
\tLWP::UserAgent
\tLog::Log4perl
\tMIME::Types
\tStream::Buffered
\tTest::Pod
\tTest::Requires
\tTest::TCP
\tTry::Tiny
\tURI
EOS
};
subtest 'without some phases' => sub {
my ($got) = capture {
App::pmdeps->new->run( '-p', '5.016003', '--without-phase', 'configure,develop,test', 'Plack', '1.0027' );
};
is $got, <<EOS;
Target: perl-5.016003
xt/show_deps_by_metacpan.t view on Meta::CPAN
\tFCGI::ProcManager
\tFile::ShareDir
\tFilesys::Notify::Simple
\tHTTP::Body
\tHTTP::Message
\tHash::MultiValue
\tIO::Handle::Util
\tLWP::UserAgent
\tStream::Buffered
\tTest::TCP
\tTry::Tiny
\tURI
EOS
};
subtest 'without some type' => sub {
my ($got) = capture {
App::pmdeps->new->run( '-p', '5.016003', '--without-type', 'suggests,recommends', 'Plack', '1.0027' );
};
is $got, <<EOS;
Target: perl-5.016003
xt/show_deps_by_metacpan.t view on Meta::CPAN
\tFile::ShareDir
\tFile::ShareDir::Install
\tFilesys::Notify::Simple
\tHTTP::Body
\tHTTP::Message
\tHash::MultiValue
\tStream::Buffered
\tTest::Pod
\tTest::Requires
\tTest::TCP
\tTry::Tiny
\tURI
EOS
};
};
};
subtest 'Plack version 1.0000' => sub {
my ($got) = capture {
App::pmdeps->new->run( '-p', '5.008001', 'Plack', '1.0000' );
};
xt/show_deps_by_metacpan.t view on Meta::CPAN
\tDevel::StackTrace
\tDevel::StackTrace::AsHTML
\tFile::ShareDir
\tFilesys::Notify::Simple
\tHTTP::Body
\tHTTP::Message
\tHash::MultiValue
\tLWP::UserAgent
\tTest::Requires
\tTest::TCP
\tTry::Tiny
\tURI
\tparent
EOS
};
done_testing;
( run in 0.662 second using v1.01-cache-2.11-cpan-05444aca049 )