Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47200 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2947 invoked from network); 12 Mar 2010 23:14:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Mar 2010 23:14:51 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:63366] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/49-13686-BEACA9B4 for ; Fri, 12 Mar 2010 18:14:51 -0500 Received: by wyb36 with SMTP id 36so61735wyb.29 for ; Fri, 12 Mar 2010 15:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ROs0ufJejSNiUFukoUAE9nfuClGW1RbkaOU8x7JhfIw=; b=ocOFLyKjT/F9+P584eETqgaft0C7tjvg/wlOLWsqzCbjZ9XoTRWj30LIq57WjU+HvF Brx6zAQDwkQdyet85zFEIG8mrh6lA4xWeTbSC4Xklr/CVAfnYZqwxwIF4MOZdWciBpAu VejQefxiVGDVvUQaIf67xBPnu/Ns9BSsCBU8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Yo3NV7yphuRSl3zoGbycyuentkWItfUM5tbncgGXBYAGOEnIheQkggzkKKYjSuBfFC ddU5mJ2bcypdBiZ/JZyyI+YaIBcoWss6n7K29+jTSTTV364fPeoB5FW7QqwM53mmzXCB hiuCyh88cOhozjl1dbQEUWoutXYLC5ZFhuz5U= MIME-Version: 1.0 Received: by 10.216.87.67 with SMTP id x45mr48937wee.18.1268435688371; Fri, 12 Mar 2010 15:14:48 -0800 (PST) In-Reply-To: References: <4B9926E8.4080202@lerdorf.com> <4B9A93EE.7080403@zend.com> <1418253B-84A3-4CA6-965B-A2501A5D432F@gmail.com> <4B9AB840.1010209@zend.com> <4B9ABDCE.2070904@zend.com> <4B9AC13B.401@sci.fi> Date: Sat, 13 Mar 2010 00:14:48 +0100 Message-ID: To: Eric Stewart Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Tests repository From: pierre.php@gmail.com (Pierre Joye) On Sat, Mar 13, 2010 at 12:04 AM, Eric Stewart 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