Re: [PEPr] +1 for Web Services::Services_UseKetchup
| From: | till | Date: | Wed, 15 Sep 2010 17:21:42 +0000 |
| Subject: | Re: [PEPr] +1 for Web Services::Services_UseKetchup | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53818@lists.php.net to get a copy of this message | ||
On Thu, Sep 9, 2010 at 7:55 PM, till <till@php.net> wrote:
> On Thu, Sep 9, 2010 at 1:36 AM, Daniel O'Connor
> <daniel.oconnor@gmail.com> wrote:
(...)
>> PHPUnit's getMock() or HTTP_Request2's Mock Adapter ftw.
>
> Ah, yeah. Good idea. Creating those is a bit tedious, I'll make sure
> to put that in before 1.0.0.
I started working on something - the working title is Testing_GenerateMock:
http://github.com/till/Services_UseKetchup/blob/master/Testing/GenerateMock.php
So basically what it does is, it generates files from
METHOD-URL-QUERY. Has a public static to generate the filename from
these components.
What do you think?
Till