Re: Tests repository

From: Date: Sat, 13 Mar 2010 00:57:49 +0000
Subject: Re: Tests repository
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-47204@lists.php.net to get a copy of this message
On Fri, Mar 12, 2010 at 06:53:49PM -0500, Eric Stewart wrote:
> 
> If I'm given the choice of those differences being in one file or in three
> different files (5.2, 5.3, 6.0)? I choose one file. Even if that files is
> more complex. It's still one file. One commit. One place to look for
> problems. And you get the bonus of being able to see the actual differences
> of the same functionality in different versions of PHP all in one place.

Agreed.

It seems we'll need not only a ==VERSION== section of some sort, but a 
==VERSION_OUTPUT== type of thing as well.  For example, when things get 
deprecated.  The test suite needs to ensure that the function works 
normally in 5.2 but throws a deprecated warning in 5.3.

Thanks,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409


Thread (113 messages)

« previous php.internals (#47204) next »