Re: Tests repository

From: Date: Fri, 12 Mar 2010 23:14:48 +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-47200@lists.php.net to get a copy of this message
On Sat, Mar 13, 2010 at 12:04 AM, Eric Stewart <ericleestewart@gmail.com> wrote: > I think specific examples (ie: a link to a 5.2 test and the corresponding > 5.3 test) which are currently impossible to merge would be most beneficial > at this point. > > I'll search for some this evening. If anyone knows of one or two off the top > of their head, please provide links. It is always possible to write a test for both versions (except namespace). However it requires a radical change on how we test things. Instead of testing the output of given script, we will have to add logics in a test, something similar to the classic xUnit frameworks. For example, we will have to do the error msg check inside the test instead of in run-tests which will only check the output as it does now, or even better, only OK or FAILED. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#47200) next »