Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99100 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32951 invoked from network); 18 May 2017 10:21:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2017 10:21:36 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.182 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.128.182 mail-wr0-f182.google.com Received: from [209.85.128.182] ([209.85.128.182:35819] helo=mail-wr0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/60-23431-D927D195 for ; Thu, 18 May 2017 06:08:29 -0400 Received: by mail-wr0-f182.google.com with SMTP id z52so29980081wrc.2 for ; Thu, 18 May 2017 03:08:28 -0700 (PDT) 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 :cc; bh=SAvklpYOTAiZAbgivkLtZ10v/UIsGSF32EkW+mjg9BQ=; b=WNIHzDbmat3x9jqofSjtNI0hPwZHPXAjxsFQEB7G2KkxmHwelmGSd08M8Z7tAP9N3j 4tFJVruwqXjDffwYjN/elu7EzqKsAyUYc7+xXJsK0Ul/jFGv1iBLNx/HkmRT9LEN6iKM aKdPK99ewJNtwxHiRciEP852tOQ0TNF4rQmx5TqgVAiFyHY6iMosP/6iXEXAVMWBgi4O dnYhkDTX0S6rg5W60XmJaPRZLInyATg6A+qCFL9WgY5JFl5bSJ2J8a/92j4tloFBIk6h 8MFOjsAzd6tdu1MRP4cZnwGGQy72p6q2ewu58VUwvBVvzVASvfrUSmiZydvV4cDLQEhr 7f3Q== 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:cc; bh=SAvklpYOTAiZAbgivkLtZ10v/UIsGSF32EkW+mjg9BQ=; b=O/pRIHYitiT9Nj1ZGrWpaYnhik8xzkNAzSKD0bjcf9aMswYDrXk0Z+dgJamacLyjcE WId1Yve1pI+qSAblCW/RiebIgCPaNJhX7Rgce6T/IZd014zRjbIIaYH4vi8yrUy0i3pT HN7LK+DIWOBuqgn5/CD/jZjfhIP5hLclT9n5+cqWjy0B4dPY0D99aqFj9jFgN15Ep8n3 AuFvfIonnNNfoSIAMdrkSVyytWF4e4tgaqXPgOTuORif6j8/1tJdrE+PZR9kyNLTx7YQ 3MLOZeGKMHRs806bzt5QUTfrio8E8wYBrr/8UQO4tGiT9sDeOVU0Kb4AP12DnokueWC0 UhHA== X-Gm-Message-State: AODbwcA9IB5YcZgzBJ+u1iOrVCHECmG9mLXJ6ZdQvYhv/wOeo8Wi/n7Z mRwEl/Ao2TY8E7yNiAz2wR13HtRbYg== X-Received: by 10.223.167.153 with SMTP id j25mr2295016wrc.101.1495102106351; Thu, 18 May 2017 03:08:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.161.147 with HTTP; Thu, 18 May 2017 03:08:05 -0700 (PDT) In-Reply-To: <1495067758.9756.47.camel@schlueters.de> References: <1495067758.9756.47.camel@schlueters.de> Date: Thu, 18 May 2017 12:08:05 +0200 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: PHP Internals List , Sammy Kaye Powers Content-Type: multipart/alternative; boundary="94eb2c1cc54cf3bdd1054fc995d5" Subject: Re: [PHP-DEV] Implement formal process for run-tests.php refactor From: ocramius@gmail.com (Marco Pivetta) --94eb2c1cc54cf3bdd1054fc995d5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 18, 2017 at 2:35 AM, Johannes Schl=C3=BCter wrote: > On Mi, 2017-05-17 at 23:30 +0200, Marco Pivetta wrote: > > Is Sebastian copied in here? Why can't we just use the super-battle- > > tested > > PHPUnit? It supports phpt and a ton of plugins, plus everyone uses it > > and > > is familiar with it. > > PHPUnit is huge. run-tests is a small script in a single file which I > can quickly edit. For PHPUnit I have multiple files and need tooling to > phar them up. > You don't need to phar them up - just run a typical composer installation, like everyone else, and like every PHP package running CI on travis-ci/circle-ci/continuous-php ever built in the last 5 years. At this point, composer and phpunit are such big players that breaking them or breaking PHP makes no difference at all for the user-base. > PHPUnit (according to it's website) also has more dependencies (DOM and > JSON) which are not included in --disable-all. used > Ah yes, that is indeed a problem. I think these deps are used in some assertions only, so it may be possible to drop them if the assertions are segregated somewhere else. I'm not sure if PHPUnit meanwhile supports redirect tests as in PDO. > Unsure - got a link to those? > Is there a performance comparison? - make test runs for a loooong time. > A difference might have an impact. (both ways round ;) ) > PHPUnit has plugins to parallelize and aggregate results too - the point of using a battle-tested and commonly used solution is precisely the benefits you get from community support. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --94eb2c1cc54cf3bdd1054fc995d5--