Search results for "module:Test::Mock::LWP"
Test::Mock::LWP - Easy mocking of LWP packages
This package arises from duplicating the same code to mock LWP et al in several different modules I've written. This version is very minimalist, but works for my needs so far. I'm very open to new suggestions and improvements....
LUKEC/Test-Mock-LWP-0.08 - 19 Oct 2013 15:51:23 UTC
Test::Mock::LWP::Dispatch - mocks LWP::UserAgent and dispatches your requests/responses
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 re...
TADAM/Test-Mock-LWP-Dispatch-0.08 - 06 Nov 2015 09:18:13 UTC
Test::Mock::LWP::Distilled - make and use LWP mocks, distilled to their essence
There are plenty of simple LWP-mocking modules. Test::Mock::LWP::Distilled aims for something slightly more complicated, and therefore a lot more useful. Design ethos Test::Mock::LWP::Distilled does a couple of things beyond just letting you inject m...
SKINGTON/Test-Mock-LWP-Distilled-1.000 - 13 Sep 2021 13:44:59 UTC
Test::Mock::LWP::UserAgent - Mocks LWP::UserAgent
LUKEC/Test-Mock-LWP-0.08
-
19 Oct 2013 15:51:23 UTC
Test::Mock::LWP::Conditional - stubbing on LWP request
This module stubs out LWP::UserAgent's request....
MASAKI/Test-Mock-LWP-Conditional-0.04 - 20 May 2016 09:54:21 UTC
Test::Mock::LWP::Distilled::JSON - JSON support for Test::Mock::LWP::Distilled
This is a very simple extension to Test::Mock::LWP::Distilled that handles the very common case of APIs that return JSON. *If* you are happy that only the HTTP code and the JSON content of any website response are important (you don't need to remembe...
SKINGTON/Test-Mock-LWP-Distilled-JSON-1.000 - 13 Sep 2021 13:47:48 UTC
Test::Mock::HTTP::Response - Mocks HTTP::Response
LUKEC/Test-Mock-LWP-0.08
-
19 Oct 2013 15:51:23 UTC
lib/Test/Mock/LWP/Conditional/Stubs.pm
MASAKI/Test-Mock-LWP-Conditional-0.04
-
20 May 2016 09:54:21 UTC
Test::LWP::MockSocket::http - Inject arbitrary data as socket data for LWP::UserAgent
This module, when loaded, mangles some functions in LWP::Protocol::http which will emulate a real socket. LWP is used as normally as much as possible. Effort has been made to maintain the exact behavior of Net::HTTP and LWP::Protocol::http. Two varia...
MNUNBERG/Test-LWP-MockSocket-http-0.05 - 19 Dec 2011 22:58:36 UTC
Test::Mock::Furl::Furl - Mock Furl
See Test::Mock::Furl page for more details....
BAYASHI/Test-Mock-Furl-0.05 - 26 Jul 2013 13:32:05 UTC
Test::AutoMock - A mock that can be used with a minimum setup
Test::AutoMock is a mock module designed to be used with a minimal setup. AutoMock can respond to any method call and returns a new AutoMock instance as a return value. Therefore, you can use it as a mock object without having to define all the metho...
HIRATARA/Test-AutoMock-0.04 - 30 Mar 2019 15:40:50 UTC
Test::Mock::Furl::HTTP - Mock Furl::HTTP
See Test::Mock::Furl page for more details....
BAYASHI/Test-Mock-Furl-0.05 - 26 Jul 2013 13:32:05 UTC
Test::STF::MockServer - Mock STF Server For Testing
"Test::STF::MockServer" is a simple object that represents a mock STF server for testing. The STF server instance is automatically spawned via "Test::TCP" and is automatically destroyed when the server object is desroyed....
DMAKI/Test-STF-MockServer-0.01 - 07 Jan 2013 05:27:46 UTC
Test::Mock::Furl - Mocks Furl for testing
"Test::Mock::Furl" is the mock module for teting Furl EXPORTS The following variables are exported by default: $Mock_furl The mock Furl object - a Test::MockObject object $Mock_furl_http The mock Furl::HTTP object - a Test::MockObject object $Mock_fu...
BAYASHI/Test-Mock-Furl-0.05 - 26 Jul 2013 13:32:05 UTC
Test::CallCounter - Count the number of method calling
Test::CallCounter counts the number of method calling....
TOKUHIROM/Test-CallCounter-0.04 - 07 Apr 2013 14:07:56 UTC
Test::Spec::Mocks - Object Simulation Plugin for Test::Spec
Test::Spec::Mocks is a plugin for Test::Spec that provides mocking and stubbing of objects, individual methods and plain subroutines on both object instances and classes. This module is inspired by and heavily borrows from Mocha, a library for the Ru...
AKZHAN/Test-Spec-0.54 - 21 Nov 2017 10:08:54 UTC
Test::LWP::UserAgent - A LWP::UserAgent suitable for simulating and testing network calls
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 greatl...
ETHER/Test-LWP-UserAgent-0.036 - 16 Jan 2022 04:13:25 UTC
Test::Mock::Furl::Request - Mock Furl::Request
See Test::Mock::Furl page for more details....
BAYASHI/Test-Mock-Furl-0.05 - 26 Jul 2013 13:32:05 UTC
Test::MethodFixtures - Convenient mocking of externalities by recording and replaying method calls.
Record and playback method arguments, for convenient mocking in tests. With this module it is possible to easily replace an expensive, external or non-repeatable call, so that there is no need to make that call again during subsequent testing. This m...
MJEMMESON/Test-MethodFixtures-0.08 - 26 Feb 2016 09:44:55 UTC