Test::Requires(3) User Contributed Perl Documentation Test::Requires(3)NAME
Test::Requires - Checks to see if the module can be loaded
SYNOPSIS
# 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';
DESCRIPTION
Test::Requires checks to see if the module can be loaded.
If this fails rather than failing tests this skips all tests.
AUTHOR
Tokuhiro Matsuno <tokuhirom @*(#RJKLFHFSDLJF gmail.com>
THANKS TO
kazuho++ # some tricky stuff
miyagawa++ # original code from t/TestPlagger.pm
tomyhero++ # reported issue related older test::builder
SEE ALSO
"TestPlagger.pm" in t
LICENSE
This 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)
Check Out this Related Man Page
Test::Mock::HTTP::Request(3pm) User Contributed Perl Documentation Test::Mock::HTTP::Request(3pm)NAME
Test::Mock::HTTP::Request - Mocks HTTP::Request
SYNOPSIS
Make HTTP::Request to make testing easier.
See Test::Mock::LWP manpage for more details.
This class uses Test::MockObject, so refer to it's documentation as well.
AUTHOR
Luke Closs, "<test-mock-lwp at 5thplane.com>"
BUGS
Please report any bugs or feature requests through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Mock-LWP>. I
will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Mock::LWP
You can also look for information at:
* AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/Test-Mock-LWP>
* CPAN Ratings
<http://cpanratings.perl.org/d/Test-Mock-LWP>
* RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Mock-LWP>
* Search CPAN
<http://search.cpan.org/dist/Test-Mock-LWP>
ACKNOWLEDGEMENTS COPYRIGHT & LICENSE
Copyright 2006 Luke Closs, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2007-01-25 Test::Mock::HTTP::Request(3pm)
Hello ,
I need help to show data in table format
i have 2 files A and B
A files contains 2 coulmns
$1 $2
Test 34
Test1 35
Test4 78
Test6 89
B file contains 2 coulmns
$3 $4
Test 65
Test4 67
Test6 98 (10 Replies)
Hello,
I am trying to add some tests to existing code. The code already contains some test commands. An example is as follows...
] then
Does anyone know the purpose of the double equals? I would have used a single equals sign... (2 Replies)
Hi gurus,
I have a problem with ftp access. The first 2 test e.g. Test A & Test B was successful with the file size 64kb (800++ numbers). The third test with file size 120kb was failed. The error is "Netout :Connection reset by peer". No password entered manually since the test run from the... (3 Replies)
Hi,
I need help how to renaming multiple file. The original file look like this;
Test Monday.txt
Test Wednesday.txt
Test July.txt
I have more than hundred file in the directory.
How i want to rename all file to a new file name in one time? The new file maybe the same name e.g.... (13 Replies)
I've attached a tar.gz containing three tests to demonstrate the problem I'm having.
Within the tar are two shared libraries, two test applications, and a Makefile that builds the three tests.
The shared libaries are libshlib1.so and libshlib2.so. Both export a function, libFunc, which takes... (5 Replies)
Anybody know of a suite of server-validation tests? I am trying to build my own HTTP server, but do not know of all the status code responses (like "200 OK") or the internal methods (like "keep-alive") which should be implemented to be considered a "complete" solution.
Any help? (3 Replies)
Friends,
I have 1000 line like below
#formate Test.server.e01=http://111.22.33.23/
#test_server_west
Test.server.w01=http://112.123.123.22/
Test.server.w02=http://113.143.123.22/
Test.server.w03=http://112.183.123.22/
#test_server_east
Test.server.e01=http://115.123.123.22/... (6 Replies)