Re: PHPUnit News
| From: | Stig S. Bakken | Date: | Sat, 28 Sep 2002 09:41:38 +0000 |
| Subject: | Re: PHPUnit News | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9630@lists.php.net to get a copy of this message | ||
On Wed, 2002-09-25 at 11:00, Tal Peer wrote:
> Sebastian Bergmann wrote:
>
> > Hi.
> >
> > I created a branch "ZEND_ENGINE_2" in the PHPUnit/ directory.
> >
> > This branch requires, as you already guessed from its name, the Zend
> > Engine 2. It will eventually become PHPUnit 1.0, once PHP 5.0.0 is out
> > of the door.
> >
> > Current changes include the use of namespaces, proper pass-by-reference
> > and the use of private members.
> >
> > Next thing on my TODO is proper exception handling for the
> > PHPUnit::TestFailure class.
> >
> >
> >
> Very cool,
> What about making a ZEND_ENGINE_2 branch for the whole pear cvs module?
> (and then each maintainer will convert his/her package whenever he/she
> likes)
In general, I think it is better to try making the code ZE1/2
compatible, and in the cases where this won't work, put just the
ZE2-specific code in separate files, and avoid using branches. Having
"permanent branches" such as this becomes a really big maintenance
headache after some time.
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb