rwriting run-tests.php
| From: | Kai Schröder | Date: | Tue, 18 Feb 2003 15:34:53 +0000 |
| Subject: | rwriting run-tests.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-9234@lists.php.net to get a copy of this message | ||
I prefer to rewrite run-tests.php to cleanup the code and support some
informations we don't have in the reports at the moment.
These informations are:
- active extensions (must parsed at the moment from PHP Info)
- tests ignored by extension
- running tests
- skipped test reason
- new test results (crashed, no answer/freeze/timeout)
Another change should be that we produce only the result structure and
convert to plain text for storage as file only.
If an environment var with the machine code is given (PHPQA_MACHINE for
instance), testing can run without users interaction, so we are able to add
testing to cron. All environment variables should start with PHPQA_, because
we can remove them from transfered $_ENV easy.
We should also add something to edit released php.ini-dist individual
(session_savepath on windows and database settings for instance) to test
more extensions automaticly.
Result structure should send to a script only and a daily overview will
replace mailing each report to the qa list. This will save much mail traffic
(~ 1 MB/day).
Comments welcome,
Kai
P.S.: To see a preview (in development) what we'll have in near future:
http://php-qa.kai-schroeder.net.