Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101739 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72639 invoked from network); 31 Jan 2018 12:17:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2018 12:17:52 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.48 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.48 mail-wm0-f48.google.com Received: from [74.125.82.48] ([74.125.82.48:39815] helo=mail-wm0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/A8-24062-0F3B17A5 for ; Wed, 31 Jan 2018 07:17:52 -0500 Received: by mail-wm0-f48.google.com with SMTP id b21so7585028wme.4 for ; Wed, 31 Jan 2018 04:17:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=hX2BdrdwvjoebPp1d887DokRSYE2LQ92GaIJ4VVBSnM=; b=CkFmbAKgyzWmCqHGnXydOkcLcaLE4zcM/QgyJq3BS6V0AdRTHHClA74uMmbQRJDFk3 UgkQ8Kc/xfKmETf2aKw9YnjumJt+DvwbDVFk7SCntEvIkZoPsxO0OIIrO4Ky6x+tOdbP C6KxbkMdtlERfaet5VWNdCcnvY6GxYM6FBk2PMlM4GDT9cgZt/XJsfjt8KzFXcMoBwdu RFKn9/ZDYOE6UHA7FnL02vz6hrFPjRUXXtevTw6nZwSdRVruaKMXrT6iwyg5hYymdGsS VYJvEZ1Mb/h4sbo3ZkVowk+od+ijA6ACjDAhfrMh2qLGI25iRaOtNsVH6UGv5minMzHH w7AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=hX2BdrdwvjoebPp1d887DokRSYE2LQ92GaIJ4VVBSnM=; b=S1c5khQuzZq4a+kZdUxVxGRWWWnAw1ToJJ6IdXFhq504vWAXLjzNe/DuGBOk/G16nZ GcsiRU1jM1+OiRHDr5mjpa/yEq72Ly4etQqgyTEi1a+BsCqII6uD/PUSO2PO5gCXI2CY 7ZMRD6v5+eXJNi+nlEcZRtfWNs+AweGcw63hq4KQKT1cZ6d9HtpIJpAIQCmmaJYPjiIn bkKhVypG7Ai8vA+DfaC2myag2xxDmDebgHdSV+t/OxyqV87Li4CpMbMnTJEmihMkf09F 5iGUnG1RKLmwslX/JaEiJ16Mhq6vbLoIZCDVU+Gfdmh9sikAYDlNA6vYf9JXpp62UJPe +I+g== X-Gm-Message-State: AKwxytemvHMb5lail/FVz1RhtDGlGdqHX+MMj9ubnK77rqTvbHQ5vFuG 5c8WeZpLvxazNJxxniauxpNhxUWFcGbQLHK9dMk= X-Google-Smtp-Source: AH8x2267OsbmZRh8hY6htmX8oZ2ebpIquBRhwfnkIU7fI9zAm1o+3jgitgYK5suLsbjT6FHm7P5xEHYQerNflhaowQk= X-Received: by 10.80.168.227 with SMTP id k90mr57080989edc.249.1517401069093; Wed, 31 Jan 2018 04:17:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.222.195 with HTTP; Wed, 31 Jan 2018 04:17:48 -0800 (PST) In-Reply-To: <4b80d345-d3dc-e7c7-9a73-f2352ddf0d8f@mokrynskyi.com> References: <0b2d12f4-388c-a3bf-cbbf-417a0f98b386@mokrynskyi.com> <4b80d345-d3dc-e7c7-9a73-f2352ddf0d8f@mokrynskyi.com> Date: Wed, 31 Jan 2018 12:17:48 +0000 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary="94eb2c195be0b488b105641177bb" Subject: Re: [PHP-DEV] Potential adoption of run-tests.php replacement From: rowan.collins@gmail.com (Rowan Collins) --94eb2c195be0b488b105641177bb Content-Type: text/plain; charset="UTF-8" On 31 January 2018 at 10:50, Nazar Mokrynskyi wrote: > The idea is to make filenames more descriptive and sufficient for > displaying in test results. This doesn't prevent or discourage anyone from > including description in test file itself when more details need to be > included. > Would you propose to apply a bulk rename of all .phpt files currently in the tree to use their TEST blocks as filenames, or a manual review of each test? If automating, how would you handle tests whose descriptions are not unique within a directory? If manual, what kind of naming scheme would you propose? > Moreover, all of the characters from mentioned title are allowed for use > in file name (at least on Linux) and it would be much more useful to see > them instead of 001.phpt or bug-1234.phpt. While most characters are allowed in names, some can be irritating to work with - test descriptions are likely to include things like ", $, * etc which have to be escaped carefully whenever manipulating the files. Different filesystems and environments may not handle the same set of characters, so care would need to be taken to ensure portability of the test suite. It seems like a tool which lists the file name and description for each .phpt file in a directory would bring most of the advantages of such a mass renaming without the problems. Regards, -- Rowan Collins [IMSoP] --94eb2c195be0b488b105641177bb--