Re: Wanted: permanent maintainer for HTTP_Request
| From: | Stefan Walk | Date: | Mon, 27 Oct 2003 14:19:08 +0000 |
| Subject: | Re: Wanted: permanent maintainer for HTTP_Request | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23033@lists.php.net to get a copy of this message | ||
On Mon, Oct 27, 2003 at 02:37:38PM +0100, Dave Mertens wrote:
> > 2) Unit tests
> Currently i'm exploring how to use the phpUnit package for these unit tests.
> But the unit tests for HTTP_Request aren't that easy. Take for an example uploads. Which
> site allow free uploading of images or other files?
> Testing the download is easy. Downloading a pear logo from the site will be suffiant.
>
> There were also some bugfixes which need to be tested, for example the HTTP 100 continue
> status. Personaly i never saw this status (excluding RFC2616 ;-)
Just a suggestion for the unit tests...
If you set up an include_path with a fake Net_Socket in it, you should
be able to emulate a server so you can test HTTP_Request without wasting
traffic and server resources, and testing exotic cases...
Stefan
--
Regards,
Stefan Walk
<swalk@prp.physik.tu-darmstadt.de>