Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59209 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86796 invoked from network); 29 Mar 2012 23:15:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Mar 2012 23:15:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:63342] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/C8-40808-12DE47F4 for ; Thu, 29 Mar 2012 18:15:46 -0500 Received: by pbcun1 with SMTP id un1so867274pbc.29 for ; Thu, 29 Mar 2012 16:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l5ndZVZkNONIYmSzoGzWOB0Hb0w+CoDbvb5FczJmLl0=; b=w1uodE6l+N9a0XgpdOdiBQmouD16YWuSaBU0ixV8Xj0zdEZRRLVdBNTn1ikzFeM808 Sg3XYM32XI9u2oRPS/VBPX676vc+lVAg3KjT574N/v2T7kgBDz9Osb0HUi1TtiVSnpRP 3phrWqh50fUOFXLyZ5meyWpH9jWVtE+TOUAe1I7D5W1K9WNaVkg8eGW26cP7mQEyynCC 8vAeEvYrTinzh/nyyoVx2W4GMSC3BKkOyP9uuaa1Ogsu9kTI4132cdQlXyaCTrTKNEsB e7ndU1+2I7PVIFXuoUQ3YkdjLQggohbH4AgeQMmozpsAictYtVSGNI7qC4yEYnIw5He8 WS2Q== MIME-Version: 1.0 Received: by 10.68.213.73 with SMTP id nq9mr3575128pbc.143.1333062943169; Thu, 29 Mar 2012 16:15:43 -0700 (PDT) Received: by 10.68.15.105 with HTTP; Thu, 29 Mar 2012 16:15:43 -0700 (PDT) In-Reply-To: <4F74DFF6.7010507@sugarcrm.com> References: <4F74DFF6.7010507@sugarcrm.com> Date: Fri, 30 Mar 2012 01:15:43 +0200 Message-ID: To: Stas Malyshev Cc: Alexey Shein , PHP Internals Content-Type: multipart/alternative; boundary=e89a8ff1c3fc30de2504bc69e72a Subject: Re: [PHP-DEV] Change all XFAIL tests to FAIL From: tyra3l@gmail.com (Ferenc Kovacs) --e89a8ff1c3fc30de2504bc69e72a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > Please note that we were in that position and we moved from there. So to > move back, we need some argument about what's different this time from > the place we were a year ago. > > could you elaborate on this part? where were we a year ago? > > XFAILs serve now as a pain-killers, we've got about 50 of them in the > > repo, so devs (I assume) think this way: "It's failing, but it's > > EXPECTED to fail, so let's leave it as is". > > Leaving it as is was happening anyway. It's not like we had crowds of > devs descending on test fails but ignoring xfails. Most of xfails were > fails and were sitting there ignored for years. So the difference was > "running constantly with 50 fails" or "having some xfails but detecting > new fails easily since we have no or very little fails normally". > The problem is exactly that there are no devs thinking like you imagine > them to think. > > yeah, but as we did see, the current approach makes it very easy to "hide" even the not so small issues (for example the bunch of date related XFAILS which you personally asked multiple times to be fixed before the 5.4 release). I think that in it's current form XFAIL hurts more than it helps. > > from a file) and use that. Failing tests should not be hidden. > > They are not hidden. But they were not being fixed when they were just > fails - only thing that happened is that we constantly run with tons of > fails, so it was impossible to distinguish situation of "everything is > fine" from "the build is FUBAR". > yeah, and the exact same thing happened with the 5.3.7/CVE-2011-3189, even though that we have XFAILs. I think that eliminating the failing tests and making the fails noisy would be a better approach. I think that those spontaneous "TestFests" initiated by Rasmus really helped, and now that we are on git/github, there would be even greater audience. > > > functions or not. We could also introduce "Incomplete" state like it's > > done in PHPUnit for these tests. > > So what's the difference between xfail and incomplete? > http://www.phpunit.de/manual/3.2/en/incomplete-and-skipped-tests.html currently the XFAIL can mean that either the test is incomplete, or the functionality is missing/the code is broken, but we are expecting that for some reason. killing the XFAIL and adding the Incomplete test feature would allow the first, but the second should be a failing test. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --e89a8ff1c3fc30de2504bc69e72a--