Re: Updates to the QA web site
| From: | Antony Dovgal | Date: | Mon, 04 Jun 2007 11:32:54 +0000 |
| Subject: | Re: Updates to the QA web site | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-33224@lists.php.net to get a copy of this message | ||
On 04.06.2007 14:28, Zoe Slattery wrote:
Hi all I recently spent some time understanding (with a lot of help from Marcus :-)) how to use the --CLEAN-- section in run-tests.php. I fell into a couple traps on the way and wanted to document them on the qa web site so I've added a section on cleaning up after running tests. Please would you review it and let me know if you would like any changes before I commit it? The draft is in here: http://zoe.soal.org/write-test.phpI personally don't really like the part that tells how to use basename() - IMO it's a bit overcomplicated. I believe it's much easier to write "fred.tmp" twice than strip suffixes and do other magical stuff just to save few keystrokes. So I'd propose to avoid frightening people with this stuff and go the easiest route =) The other parts look fine, here is the diff: http://dev.daylessday.org/diff/write_tests_clean.diff -- Wbr, Antony Dovgal