Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 10720 invoked from network); 18 Aug 2009 05:35:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 05:35:27 -0000 Received: (qmail 18431 invoked by uid 500); 18 Aug 2009 05:35:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18381 invoked by uid 500); 18 Aug 2009 05:35:46 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 18373 invoked by uid 99); 18 Aug 2009 05:35:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 05:35:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hiranya911@gmail.com designates 209.85.219.211 as permitted sender) Received: from [209.85.219.211] (HELO mail-ew0-f211.google.com) (209.85.219.211) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 05:35:36 +0000 Received: by ewy7 with SMTP id 7so196590ewy.7 for ; Mon, 17 Aug 2009 22:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=HMZv7YVpzvmDCU3VtT1/X/4MM9G41C9rs6lV9PW1Hmk=; b=qLocW8Hg7dllCixkCKosY+qP03dm8f1aslDtjavZfh51f6XHva00mQjO80vCgAmYNs eIpjLyR87LIYVhfyoOcMLV+NIYE4R0OL17QTjvTGYZ7AhTMcMODmNI31EdZdvnwqLXI9 76WM9nucDzatDT0IkWAJjYZGoN2PggGDmlJd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=urusAdQU3rOThFpIc5yzvg/l/zaiOHqGp7yNNVWQw+oDmf9j/Jl5X1ueLUGxH4cYYc y0RBnhml4fXRsjOBVJSaaAO3ahAAq0zJfPqS/3JestCD5HshIb1ezSFG5Pw/B2p1ANOQ MBdwxX9+tSOXllmLDxFXy+dKZ+q1FojHguvUA= MIME-Version: 1.0 Received: by 10.210.92.8 with SMTP id p8mr7869851ebb.15.1250573716301; Mon, 17 Aug 2009 22:35:16 -0700 (PDT) In-Reply-To: References: <558af1840908162237x524d24f5n7639207f72a72c98@mail.gmail.com> Date: Tue, 18 Aug 2009 11:05:16 +0530 Message-ID: <558af1840908172235m3c1c7088rdf06b52fced39958@mail.gmail.com> Subject: Re: Derby Test Framework and New dblook Test From: Hiranya Jayathilaka To: derby-dev@db.apache.org Content-Type: multipart/alternative; boundary=0015174c141820276d047163e23d X-Virus-Checked: Checked by ClamAV on apache.org --0015174c141820276d047163e23d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Mon, Aug 17, 2009 at 10:08 PM, Dag H. Wanvik wrote: > > Hi Hiranya, > > Hiranya Jayathilaka writes: > > > Hi Folks, > > > > I'm in the middle of writing the new tests for dblook. When going through > > the existing dblook tests I realized that they are not junit tests. Some > of > > the test classes have main methods. So I was wondering how should I > organize > > the new tests. Should they be written as junit tests or should they be > > similar to the existing tests? > > > I had forgotten the old dblook tests were not in JUnit :( Converting > those adds a not insignificant extra amount of work for you.. > > Maybe you could first build the new tests in JUnit, and if you have > time, convert the old test cases at the end of your effort, +1. That's what I had in mind too. Thanks, Hiranya > maybe the > old tests will be fully superceded by your tests in any case. > > If you think converting the old tests will definitely be too much work > given the time remaining, augmenting the present tests is also > acceptable, I think. The community could convert them to JUnit > later. I think it is more important that you get new tests in at all, > than what format they are in. > > Obviously, we would prefer JUnit ;-) since we are trying to get rid of > the canon based tests. > > Thanks again for your efforts! > > Dag > --0015174c141820276d047163e23d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Aug 17, 2009 at 10:08 PM, Dag H.= Wanvik <Dag.Wan= vik@sun.com> wrote:

Hi Hiranya,

Hiranya Jayathilaka <hiranya911@= gmail.com> writes:

> Hi Folks,
>
> I'm in the middle of writing the new tests for dblook. When going = through
> the existing dblook tests I realized that they are not junit tests. So= me of
> the test classes have main methods. So I was wondering how should I or= ganize
> the new tests. Should they be written as junit tests or should they be=
> similar to the existing tests?


I had forgotten the old dblook tests were not in JUnit :( Converting<= br> those adds a not insignificant extra amount of work for you..

Maybe you could first build the new tests in JUnit, and if you have
time, convert the old test cases at the end of your effort,

+1. That's what I had in mind too.

Thanks,
Hiranya
= =A0
maybe the
old tests will be fully superceded by your tests in any case.

If you think converting the old tests will definitely be too much work
given the time remaining, augmenting the present tests is also
acceptable, I think. The community could convert them to JUnit
later. I think it is more important that you get new tests in at all,
than what format they are in.

Obviously, we would prefer JUnit ;-) since we are trying to get rid of
the canon based tests.

Thanks again for your efforts!

Dag


--0015174c141820276d047163e23d--