Re: PHP test suite
| From: | Rasmus Lerdorf | Date: | Sat, 28 Jul 2012 18:33:39 +0000 |
| Subject: | Re: PHP test suite | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61862@lists.php.net to get a copy of this message | ||
On 07/28/2012 11:24 AM, Johannes Schlüter wrote:
> On Sat, 2012-07-28 at 10:08 -0700, Rasmus Lerdorf wrote:
>>> For that I once created a special SAPI, which can also do
>>> multi-threading:
>>> https://github.com/johannes/pconn-sapi
>>>
>>> http://schlueters.de/blog/archives/166-Testing-persistent-connection-and-thread-safety-features-in-PHP.html
>>
>> While that is cool, one of the reasons we added the built-in web server
>> was to use it in exactly this sort of scenario. So Anatoliy, go for it.
>> Make whatever changes you see fit to make it easy to do a --SERVER--
>> type mechanism in a phpt file. Or perhaps there are some volunteers here
>> who have ideas and you can team up and either flash it out in a wiki doc
>> or on irc.
>
> I agree the server is a good way for that, I mostly shared my thing so
> people maybe can take ideas from there, not to stop people doing
> undoubtedly useful things.
Yup, sorry I did realize that. But I wanted to make sure Anatoliy didn't
take your reply as a "do it like this instead" response.
-Rasmus