Re: new phpruntests and the use of private
| From: | Greg Beaver | Date: | Thu, 23 Jul 2009 15:10:27 +0000 |
| Subject: | Re: new phpruntests and the use of private | ||
| References: | 1 2 3 4 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65243@lists.php.net to get a copy of this message | ||
zoe wrote:
Stefan Priebsch wrote:Hi, Don't worry, I'm keeping an eye out for eventual inclusion in Pyrus, but have simply ported over PEAR's RunTest.php to PHP 5 for the mean time. You may be interested to know that in my tests running Pyrus's tests, the runtest implementation in Pyrus was 30-40 seconds faster in a 2:30 second run than the new run-tests as of 3-4 weeks ago. This was running in series, not in parallel. I'm sure parallel execution would kick its butt. GregI expect a _lot_ of refactoring to happen inside phpruntests, so I would not recommend relying on any internal API of phpruntests today.Some areas more than others I think. The basic inner workings are (under testcase and sections) are structurally OK, at least, I'm finding it easy to maintain. The configuration is less good and needs some rework and we need to fix exception handling. Actually Stefan is right - there is still a lot to do :-)