SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Test-Mock-LWP-Dispatch rpm build for : OpenSuSE. For other distributions click perl-Test-Mock-LWP-Dispatch.

Name : perl-Test-Mock-LWP-Dispatch
Version : 0.80.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 150500.1.1 Date : 2024-08-02 23:01:51
Group : Unspecified Source RPM : perl-Test-Mock-LWP-Dispatch-0.80.0-150500.1.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : mocks LWP::UserAgent and dispatches your requests/responses
Description :
This module is intended for testing a code that heavily uses
LWP::UserAgent.

Assume that a function you want to test makes three different requests to a
server and expects to get some content from the server. To test this
function you should setup request/response mappings for mocked UserAgent
and test it.

For doing something with mappings, here are methods \'map\', \'unmap\' and
\'unmap_all\'. For controlling context of these mappings (whether it applies
to all LWP::UserAgent-s created in your code or only to a specific one) you
need to call these functions for exported \'$mock_ua\' object (global
mapping) or for newly created LWP::UserAgent (local mappings).

See also Test::Mock::LWP, it provides mocked LWP objects for you, so
probably you can solve your problems with that module too.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15_SP5/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Test-Mock-LWP-Dispatch-0.80.0-150500.1.1.noarch.rpm
     

Provides :
perl(Test::Mock::LWP::Dispatch)
perl-Test-Mock-LWP-Dispatch

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(HTTP::Request)
perl(HTTP::Response)
perl(LWP::UserAgent)
perl(Test::MockObject)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Mock
/usr/lib/perl5/vendor_perl/5.26.1/Test/Mock/LWP
/usr/lib/perl5/vendor_perl/5.26.1/Test/Mock/LWP/Dispatch.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-Mock-LWP-Dispatch
/usr/share/doc/packages/perl-Test-Mock-LWP-Dispatch/Changes
/usr/share/doc/packages/perl-Test-Mock-LWP-Dispatch/README
/usr/share/licenses/perl-Test-Mock-LWP-Dispatch
/usr/share/licenses/perl-Test-Mock-LWP-Dispatch/LICENSE
/usr/share/man/man3/Test::Mock::LWP::Dispatch.3pm.gz

 
ICM