Re: A way available to test PHP CGI builds.
| From: | Pierre Joye | Date: | Mon, 01 Feb 2010 20:08:49 +0000 |
| Subject: | Re: A way available to test PHP CGI builds. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29841@lists.php.net to get a copy of this message | ||
On Mon, Feb 1, 2010 at 8:59 PM, Venkat Raman Don
<Don.Raman@microsoft.com> wrote:
> Hi Pierre,
>
> Thanks for the comments.
>
> I am aware of the fact that we can test php-cgi.exe in various scenarios which is very close
> to real world. But my code gives the ability to test php-cgi.exe exactly like real world. Most of
> the people use PHP to host some application. It can be home grown application, a community
> application or a variance of a community application. This is exactly what the code simulates. And
> one more clarification it is not dependent on any server or how one has configured to run PHP. It
> can be IIS/APACHE (or any other server for that matter) and is also not dependent on how you server
> is configured. It can be mod_php/FastCGI/ISAPI etc. So far as your code can run in the browser, the
> driver has the ability to test it. The only flaw is that it runs primarily on WINDOWS as it takes a
> hard dependency on Internet Explorer being the browser. I believe if we found this useful the hard
> dependency can be removed.
Right, but you don't need IE for that unless you want to test the JS
script inside IE (but that's not cgi related then), or do
screenshots/compare contents. The later can done using php only with
COM btw (and gd for the shots) :)
The server scripts in our source could be a good start (at least to
get some ideas), I got some inspiration from them for our tests suite.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org