Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

test::requires(3) [osx man page]

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)
Man Page

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Want to show data in tabel format

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)
Discussion started by: getdpg
10 Replies

2. UNIX for Dummies Questions & Answers

Test Ports

Hi, Which command or file to use to test the ports of a server? Thanks.... (3 Replies)
Discussion started by: By_Jam
3 Replies

3. AIX

Test command

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)
Discussion started by: JWilliams
2 Replies

4. HP-UX

Ftp cannot put file larger than 64kb

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)
Discussion started by: yeazas
3 Replies

5. UNIX for Dummies Questions & Answers

Multiple Files Renaming with space

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)
Discussion started by: nazri76
13 Replies

6. Programming

Linux: dlopen fails to find symbols

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)
Discussion started by: DreamWarrior
5 Replies

7. Shell Programming and Scripting

Unit tests for HTTP server implementation

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)
Discussion started by: jjinno
3 Replies

8. Shell Programming and Scripting

sed Command to skip

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)
Discussion started by: jothi basu
6 Replies