(on Thursday, 24 July 2008, 12:50 AM +1000):
> I think it would be possible to emulate $_FILES with something similar
> to cURL's @ which allows for file uploads...
We're (Thomas W and myself) actually running into issues testing
Zend_File_Transfer. The various PHP internal functions that manipulate
$_FILES actually throw errors when $_FILES has been manipulated
manually.
Testing using cURL is a no go, as Zend_Test does not actually perform
any HTTP requests -- it simply emulates the HTTP environment to allow
testing.
Please file a request for file upload testing support against Zend_Test
in the tracker. I'm fairly certain it will not get in to 1.6, but
perhaps by 1.7 we can have a good solution available.
> -----Original Message-----
> From: Емил Иванов / Emil Ivanov [mailto:emil.vladev@gmail.com]
> Sent: Thursday, 24 July 2008 12:44 AM
> To: Steven Brown
> Cc: Matthew Weier O'Phinney; fw-mvc@lists.zend.com
> Subject: Re: [fw-mvc] Zend_Test
>
> This will be very, very (no, VERY) useful but I think it will be very
> hard. If Matthew comes up with an idea it would be great. Just an
> Idea.
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论