Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 84689 invoked from network); 28 Mar 2006 13:16:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2006 13:16:25 -0000 Received: (qmail 45739 invoked by uid 500); 28 Mar 2006 13:09:35 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 45153 invoked by uid 500); 28 Mar 2006 13:09:33 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 45141 invoked by uid 99); 28 Mar 2006 13:09:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 05:09:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mark.hindess@googlemail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO pproxy.gmail.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 05:09:32 -0800 Received: by pproxy.gmail.com with SMTP id x31so1904835pye for ; Tue, 28 Mar 2006 05:09:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ItVhnSIR8Gr9XeRA7qRgpBLJ8geok95Ynj1XprwJjwf6WvPTl7Lg8D3CC7ZOaga62/J7hSrYBAYfeCQQuq+ftLxdE5ngZoX++FprptUOCMA064kPpepE17VYQlp09UooU/f1Nok0ucv6w5nIdjhGud6xdVLOxSVKoYCaAYjEHTI= Received: by 10.35.105.18 with SMTP id h18mr1662871pym; Tue, 28 Mar 2006 05:09:11 -0800 (PST) Received: by 10.35.63.11 with HTTP; Tue, 28 Mar 2006 05:09:11 -0800 (PST) Message-ID: Date: Tue, 28 Mar 2006 14:09:11 +0100 From: "Mark Hindess" To: harmony-dev@incubator.apache.org Subject: Re: Regression tests (was: svn commit: r389475 - in /incubator/harmony/enhanced/classlib/trunk/modules/text/src: main/java/java/text/SimpleDateFormat.java test/java/tests/api/java/text/SimpleDateFormatTest.java) In-Reply-To: <442929C2.5080109@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6e47b64f0603280346u3dc491edp8f06bacdbd04c626@mail.gmail.com> <442929C2.5080109@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm not convinced. Having the JIRA reference for non-contentious tests - such as an API test that passes on the reference implementation - seems a little redundant since no one will ever bother to look it up. If a test was contentious then I'd rather see a brief summary/explanation with the code (perhaps referencing the JIRA) than to have only the JIRA reference. Having just the JIRA reference seems like a poor shortcut for the important cases and needless clutter for the rest. If we really need the information later it is in the svn log anyway?=20 For instance, I just did: bash$ svn blame \ modules/text/src/test/java/tests/api/java/text/SimpleDateFormatTest.java|= \ grep test_equals_afterFormat 389475 tellison public void test_equals_afterFormat() { bash$ svn log -r 389475 ------------------------------------------------------------------------ r389475 | tellison | 2006-03-28 11:56:21 +0100 (Tue, 28 Mar 2006) | 2 lines Fix for HARMONY-209 (java.text.SimpleDateFormat.equals() behavior is not compatible with RI) ------------------------------------------------------------------------ Granted it gets a little more difficult over time, but the svn log doesn't go missing or get deleted accidentally, forgottent, etc. I prefer to let the version control system store this kind of metadata (since that is what it is intended for) rather than cluttering the code with it. Regards, Mark. On 3/28/06, Tim Ellison wrote: > Yep, I agree this is a good convention. I missed it here but will go and > fix it. > > Thanks > Tim > > Stepan Mishura wrote: > > Hi, > > > > We agreed some time ago to mark regression tests with comments that inc= ludes > > a reference to JIRA issue. > > There were no objections and I believe this is the good rule so I'd li= ke to > > ask everybody to follow it. > > I've update testing wiki page to fix this agreement (see > > http://wiki.apache.org/harmony/Testing_Convention) > > > > Thanks, > > Stepan. -- Mark Hindess IBM Java Technology Centre, UK.