Query: test::requires
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Test::Requires(3) User Contributed Perl Documentation Test::Requires(3)NAMETest::Requires - Checks to see if the module can be loadedSYNOPSIS# in your Makefile.PL use inc::Module::Install; test_requires 'Test::Requires'; # in your test use Test::More tests => 10; use Test::Requires { 'HTTP::MobileAttribute' => 0.01, # skip all if HTTP::MobileAttribute doesn't installed }; isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile'; # or use Test::More tests => 10; use Test::Requires qw( HTTP::MobileAttribute ); isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile'; # or use Test::More tests => 10; use Test::Requires; test_requires 'Some::Optional::Test::Required::Modules'; isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile';DESCRIPTIONTest::Requires checks to see if the module can be loaded. If this fails rather than failing tests this skips all tests.AUTHORTokuhiro Matsuno <tokuhirom @*(#RJKLFHFSDLJF gmail.com>THANKS TOkazuho++ # some tricky stuff miyagawa++ # original code from t/TestPlagger.pm tomyhero++ # reported issue related older test::builderSEE ALSO"TestPlagger.pm" in tLICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.2 2010-09-26 Test::Requires(3)
Related Man Pages |
---|
apache::test(3) - redhat |
test::builder::module(3) - centos |
test::requires(3) - mojave |
test::mock::http::request(3pm) - debian |
test::mock::http::response(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Test Drive A Cray Y-MP EL |
Test Ports |
Ftp cannot put file larger than 64kb |
Test |
Test |