Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19127 invoked by uid 1010); 15 May 2007 08:01:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19096 invoked from network); 15 May 2007 08:01:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2007 08:01:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:43473] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/3F-07106-BC869464 for ; Tue, 15 May 2007 04:01:18 -0400 Received: (qmail 6413 invoked from network); 15 May 2007 08:01:11 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 15 May 2007 08:01:11 -0000 Message-ID: <464968C5.9060608@zend.com> Date: Tue, 15 May 2007 12:01:09 +0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: SoftVirus CC: Zoe Slattery , Marcus Boerger , kraghuba@in.ibm.com, internals@lists.php.net References: <464891C7.3040806@googlemail.com> <862412914.20070514193633@marcus-boerger.de> <46496335.5050403@googlemail.com> <5e2913440705150052l7bac4028sc3ac26655b38b141@mail.gmail.com> In-Reply-To: <5e2913440705150052l7bac4028sc3ac26655b38b141@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Tests - and a question From: antony@zend.com (Antony Dovgal) On 05/15/2007 11:52 AM, SoftVirus wrote: > Hello Zoe, Marcus & Tony, > > Files names having _(basic|variation|error|object).phpt looks much better. > File names _[0-9]*.phpt does not give much detail about what are the > functions being testing by this testcase until one looks at the --TEST-- > section of the file. > It would be nice to have the name of the testcase > accomodate name of the functions that are being tested. For example if > 009.phpt is written to test basic functionality of current() and next() > functions, the better file name could be current_next_basic.phpt. Well, aesthetically - yes, "current_next_basic" might look better to those who don't like numbers. But you still have to open the test and read its --TEST-- section contents to learn what exactly it's testing. That said, I'm happy with both func_b.phpt and func_basic.phpt (and even 009.phpt) =) We just need more tests, doesn't matter what their names look like. -- Wbr, Antony Dovgal