Name : perl-Test-LWP-UserAgent
| |
Version : 0.36.0
| Vendor : Mageia_Org
|
Release : 2.mga9
| Date : 2022-03-28 20:56:11
|
Group : Development/Perl
| Source RPM : perl-Test-LWP-UserAgent-0.36.0-2.mga9.src.rpm
|
Size : 0.17 MB
| |
Packager : umeabot < umeabot>
| |
Summary : A LWP::UserAgent suitable for simulating and testing network calls
|
Description :
This module is a subclass of LWP::UserAgent which overrides a few key low-level methods that are concerned with actually sending your request over the network, allowing an interception of that request and simulating a particular response. This greatly facilitates testing of client networking code where the server follows a known protocol.
The synopsis describes a classic case where you want to test how your application reacts to various responses from the server. This module will let you send back various responses depending on the request, without having to set up a real server to test against. This can be invaluable when you need to test edge cases or error conditions that do not normally arise from the server.
There are a lot of different ways you can set up the response mappings, and hook into this module; see the documentation for the individual interface methods.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/9/armv7hl/media/core/release |