Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29455 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52543 invoked by uid 1010); 16 May 2007 06:46:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52528 invoked from network); 16 May 2007 06:46:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2007 06:46:01 -0000 Authentication-Results: pb1.pair.com header.from=zoe.slattery@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=zoe.slattery@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 64.233.166.183 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: zoe.slattery@googlemail.com X-Host-Fingerprint: 64.233.166.183 py-out-1112.google.com Linux 2.4/2.6 Received: from [64.233.166.183] ([64.233.166.183:32320] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/22-34333-6A8AA464 for ; Wed, 16 May 2007 02:46:00 -0400 Received: by py-out-1112.google.com with SMTP id a25so405567pyi for ; Tue, 15 May 2007 23:45:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=OMrOJ4Mi5UREpglk79pTvY+1AgjdlNr6oW993rPDdlc0hwrUgnVluT496XJlyiUqporINfG01GofuCOlFVZOk1p6678NnihUScQRdElXbV/QFIY7ckOBDyUArWdTIcT96ax+nO1yeObaJUzllMmkdRdRsISNkYqSNnIuXuTEfrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=jITSFKgntGyIJsmHDI2sdjRajRu+hT9w2Hr5WoAv6llU/7QdPfEqZrgqYlZCJibja60UBr2LsYQuq01ZcxFFaucLU0aa9+Pfwi56HWEHVCFetTZ0FYPIxHRa5w2rqRYF9VL1hrbBfUEbSjc61jNx3R3ign15Ot54XuUXpv9BVkw= Received: by 10.64.181.12 with SMTP id d12mr2448642qbf.1179297956114; Tue, 15 May 2007 23:45:56 -0700 (PDT) Received: from ?192.168.1.101? ( [81.146.0.249]) by mx.google.com with ESMTP id e14sm1680492qba.2007.05.15.23.45.54; Tue, 15 May 2007 23:45:55 -0700 (PDT) Message-ID: <464AA8A0.6030105@googlemail.com> Date: Wed, 16 May 2007 07:45:52 +0100 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Stanislav Malyshev CC: internals@lists.php.net References: <464891C7.3040806@googlemail.com> <862412914.20070514193633@marcus-boerger.de> <46496335.5050403@googlemail.com> <5e2913440705150052l7bac4028sc3ac26655b38b141@mail.gmail.com> <464968C5.9060608@zend.com> <4649E549.8040303@zend.com> In-Reply-To: <4649E549.8040303@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Tests - and a question From: zoe.slattery@googlemail.com (Zoe Slattery) Stanislav Malyshev wrote: > I think it does. If one needs to see which tests there are or are > there any tests that test particular thing or inspect certain aspects > of a functionality, navigating a maze of func_01234.phpt, all alike, > is a nightmare. Of course, I could open all of them one by one and > remember which one does what - that is if I were a being with > unlimited lifespan, infallible memory and never felt bored - but for > regular human it's a painful experience. So when writing a new tests > it would be very good to give them names that make sense, it doesn't > cost anything and helps people. Renaming old ones might be somewhat > boring task, so not sure anybody ever would do that... I'm happy to rename as we work through - if we can see an obvious and more descriptive name. Also, what about making the test directory structure match the functional reference for core functions? Some of it does at the moment (strings, array) but it would be good to put all the variable handling tests in ext/standard/tests/variable_handling for example. It's another thing we could do as we go along... Zoe Slattery IBM UK