Re: phpunit

From: Date: Mon, 16 Feb 2004 10:23:17 +0000
Subject: Re: phpunit
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-540@lists.php.net to get a copy of this message
Stefan Neufeind wrote:
On 16 Feb 2004 at 11:05, Lukas Smith wrote:
Lukas Smith wrote:
Hi, since PHPUnit 0.6.2 works nicely with PHP4 and the more recent 1.0 alphas only work with PHP5 I was thinking if we shouldnt simply register a new package name PHP4Unit and put the 0.6.2 code under that. This would mean that people would have to update their code however ...
Just to clarify. Obviously phpunit 0.6.2 would remain as is. However we should then bundle PHP4Unit which would mean that people relying on the bundled version would have to upgrade their code.
But what about packages that work with both php4 and php5? I know this is sometimes not possible but afaik some people reported they managed to get it working with both php-versions. Would they then need to supply testcases for php4unit and phpunit (which would then be for php5 only) separately? And if yes, what commonly agreed directory-structure do you suggest in the tests-directory?
well phpunit 0.6.2 could be made (maybe even is) compatible with php5. actually i think i have used it with php5 beta1 iirc. phpunit 1.x definately is not php4 compatible. Furthermore 0.6.2 has been marked stable since 0.2 while the 1.x version has been marked alpha so far (this has mainly been a result of us never clarifying what the release status really means). so maybe it would be more logical to move the 1.x stuff into PHP5Unit? Not sure how well that would fly with Sebastian however. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.qa (#540) next »