Date: 08/08/00
- Next message: Manuel Lemos: "RE: [PHP-DEV] 4.0.2 Release date"
- Previous message: Manuel Lemos: "Re: [PHP-DEV] 4.0.2 Release date"
- In reply to: Stig Bakken: "Re: [PHP-DEV] 4.0.2 Release date"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] 4.0.2 Release date"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] 4.0.2 Release date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Stig,
On 07-Aug-00 08:08:24, you wrote:
>> I know how regression tests work, but if you run from shell, it will be
>> hard to run them on non-unix platforms. OTOH hand, if you run from a
>> single PHP script it terminates when a bug leads PHP to crash. You have to
>> rely on a PHP only solution to a master PHP script call individual test
>> scripts using only the standalone CGI executable. Besides that there may
>> exist bugs that only show when PHP is run as a server module, so the
>> scripts may have to runnable that way.
>All points valid. Getting rid of unix command dependencies is easy
>(it's using "find" now). The PHP script that invokes tests runs a new
>PHP program to deal with each test, so it should catch most crashes.
It would be great if PHP could fork() it self. It could be useful also for
writing multi-process backend servers using also the PHP standalone CGI
executable. This has nothing to do with testing, but I think it is awkward
to resort to C or Java to write a basic multi-process backend server when
it could be developed in PHP with the advantage of using the whole spectrum
of abilities of PHP to interface with so many types of resources:
databases, network services, etc..
>Making the same set of tests for real server APIs is definitely more of
>a challenge.
Yes, either you try to emulate the CGI environment setting the necessary
enviroment variables or you still have to run PHP as Web server module.
The first option may be enough and easier to integrate with what you have
now.
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: email protected>?subject=Re:%20[PHP-DEV]%204.0.2%20Release%20date&replyto=1857.255T2106T1364979mlemos <email protected>">mlemos <email protected>">http://phpclasses.UpperDesign.com/?user=mlemos <email protected>
-- E-mail: mlemos <email protected> URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp ---- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Manuel Lemos: "RE: [PHP-DEV] 4.0.2 Release date"
- Previous message: Manuel Lemos: "Re: [PHP-DEV] 4.0.2 Release date"
- In reply to: Stig Bakken: "Re: [PHP-DEV] 4.0.2 Release date"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] 4.0.2 Release date"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] 4.0.2 Release date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

