Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 3137 invoked from network); 6 Jul 2006 07:43:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 07:43:19 -0000 Received: (qmail 42768 invoked by uid 500); 6 Jul 2006 07:43:15 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 42728 invoked by uid 500); 6 Jul 2006 07:43:15 -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 42712 invoked by uid 99); 6 Jul 2006 07:43:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 00:43:15 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 202.81.18.155 is neither permitted nor denied by domain of richard.liangyx@gmail.com) Received: from [202.81.18.155] (HELO ausmtp06.au.ibm.com) (202.81.18.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 00:43:13 -0700 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp06.au.ibm.com (8.13.6/8.13.6) with ESMTP id k667idjJ8102120 for ; Thu, 6 Jul 2006 17:44:39 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.250.243]) by sd0208e0.au.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k667kANO217004 for ; Thu, 6 Jul 2006 17:46:10 +1000 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k667fZKb032466 for ; Thu, 6 Jul 2006 17:41:35 +1000 Received: from d23m0011.cn.ibm.com ([9.181.32.74]) by d23av02.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k667fYqx031712 for ; Thu, 6 Jul 2006 17:41:34 +1000 Received: from [127.0.0.1] ([9.181.106.154]) by d23m0011.cn.ibm.com (Lotus Domino Release 6.5.5HF262) with ESMTP id 2006070615402226-3675 ; Thu, 6 Jul 2006 15:40:22 +0800 Message-ID: <44ACBE64.1000701@gmail.com> Date: Thu, 06 Jul 2006 15:40:20 +0800 From: Richard Liang User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [classlib] Testing conventions - a proposal References: <44ABB451.30806@googlemail.com> <44AC6DF5.30100@gmail.com> <636fd28e0607060032p68896350n73c2e5e927fb090@mail.gmail.com> In-Reply-To: <636fd28e0607060032p68896350n73c2e5e927fb090@mail.gmail.com> X-MIMETrack: Itemize by SMTP Server on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 06/07/2006 15:40:22, Serialize by Router on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 06/07/2006 15:42:46, Serialize complete at 06/07/2006 15:42:46 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Alex Blewitt wrote: > On 06/07/06, Richard Liang wrote: >> >> George Harley wrote: >> > A couple of weeks ago I mentioned that the TestNG framework [2] seemed >> > like a reasonably good way of allowing us to both group together >> > different kinds of tests and permit the exclusion of individual >> > tests/groups of tests [3]. I would like to strongly propose that we >> > consider using TestNG as a means of providing the different test >> > configurations required by Harmony. >> >> Will try to study TestNG before I can give comment ;-) > > I'd strongly recommend TestNG for this purpose, too. It's possible to > have a limiteless set of annotations for TestNG as well as allowing > different (sub)sets of those tests to be run. You can also set up > dependencies between stages (e.g. to test sockets, you've got to test > the IO ones first) as well as allowing re-running of just failed tests > from the command line (a test run can output markers as to which tests > passed/failed, and then on subsequent runs just re-run the failing > tests). > > It would also solve a lot of the problems that we've been seeing for > OS-specific issues; you can mark a test only to be run on Windows, or > on Linux etc. > > the best thing is that all of these annotations can be combined in > whatever ways that you want -- as opposed to a directory-based > approach, which is hierarchical and thus not easy to split based on OS > or enviornment alone without an exponetial explosion in the possible > combinations. Hello Alex, It seems that you're very familiar with TestNG. ;-) So would you please identify what we shall do to transfer from junit to TestNG? Thanks a lot. > > Alex. > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > -- Richard Liang China Software Development Lab, IBM --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org