Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75464 invoked from network); 24 Sep 2004 11:29:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Sep 2004 11:29:15 -0000 Received: (qmail 14968 invoked by uid 500); 24 Sep 2004 11:31:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14801 invoked by uid 500); 24 Sep 2004 11:31:00 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 14760 invoked by uid 99); 24 Sep 2004 11:30:58 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 24 Sep 2004 04:30:57 -0700 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id i8OBUnvR025650 for ; Fri, 24 Sep 2004 13:30:49 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Fri, 24 Sep 2004 13:30:51 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B560E23F670@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: AW: Choosing junit tests (again) Date: Fri, 24 Sep 2004 13:30:51 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4A229.F1FAA270" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4A229.F1FAA270 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good habbits are the result of learning (maybe the learning of other = mens :) Jan > -----Urspr=FCngliche Nachricht----- > Von: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com] > Gesendet am: Freitag, 24. September 2004 13:28 > An: Ant Users List > Betreff: Re: AW: Choosing junit tests (again) >=20 > Actually, this is the habit of most IDEs :)). But the > correct answer was yours: it won't work as the > constructors are not inherited. >=20 > Good habits prevents us from learning. >=20 > --- Jan.Materne@rzf.fin-nrw.de wrote: >=20 > > good habbit ;-) > >=20 > > Jan > >=20 > > > -----Urspr=FCngliche Nachricht----- > > > Von: Ivan Ivanov > > [mailto:rambiusparkisanius@yahoo.com] > > > Gesendet am: Freitag, 24. September 2004 13:01 > > > An: Ant Users List > > > Betreff: Re: Choosing junit tests (again) > > >=20 > > > I do not know, whether this snippet will work. > > Most > > > probably yes. I have the habit in all my test case > > to > > > provide the default no-arg constructor and the > > > contructor with single argument - the name of the > > > test. > > >=20 > > > --- Andr=E9 Dantas Rocha > > wrote: > > >=20 > > > >=20 > > > > One more question.. > > > >=20 > > > > When using: > > > >=20 > > > > public class OneMethodTestSuite { > > > > public static Test suite() { > > > > TestSuite suite =3D new TestSuite(); > > > > suite.addTest(new MyTest("testMethodOne")); > > > > return suite; > > > > } > > > > } > > > >=20 > > > > MyTest is the class witch contains > > "testMethodOne" > > > > method? in this case have > > > > I to implement a MyTest(String) constructor? > > > >=20 > > > > Thanks again, > > > >=20 > > > > Andr=E9 > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > > =20 > > > >=20 > > > > -----Mensagem original----- > > > > De: Jan.Materne@rzf.fin-nrw.de > > > > [mailto:Jan.Materne@rzf.fin-nrw.de]=20 > > > > Enviada em: sexta-feira, 24 de setembro de 2004 > > > > 07:19 > > > > Para: user@ant.apache.org > > > > Assunto: AW: Choosing junit tests > > > >=20 > > > > yes ... but not directly ... > > > >=20 > > > > JUnit is not able to run only one testcase so > > Ant > > > > cant do that neither. > > > > BUT - you can create a test suite only running > > that > > > > one testcase. > > > >=20 > > > > Have found my earlier posting on JGuru :) > > > > http://www.jguru.com/forums/view.jsp?EID=3D1163524 > > > >=20 > > > > Jan > > > >=20 > > > > > -----Urspr=FCngliche Nachricht----- > > > > > Von: Andr=E9 Dantas Rocha > > > > [mailto:ad-rocha@uol.com.br] Gesendet am:=20 > > > > > Freitag, 24. September 2004 12:14 > > > > > An: user@ant.apache.org > > > > > Betreff: Choosing junit tests > > > > >=20 > > > > > Hi, > > > > > =20 > > > > > Is there a way to specify the junit tests to > > run? > > > > > =20 > > > > > Something like this: > > > > > =20 > > > > > public classe MyTestCase extends TestCase { > > > > > public void testCase1 {} > > > > > public void testCase2 {} > > > > > public void testCase3 {} > > > > > } > > > > > =20 > > > > > I would like to run only testCase2 and > > testCase3. > > > > Is it possible? > > > > > =20 > > > > > Thanks, > > > > > =20 > > > > > Andr=E9 > > > > >=20 > > > >=20 > > > >=20 > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > > user-unsubscribe@ant.apache.org > > > > For additional commands, e-mail: > > > > user-help@ant.apache.org > > > >=20 > > > >=20 > > >=20 > > >=20 > > >=20 > > > =09 > > > __________________________________ > > > Do you Yahoo!? > > > New and Improved Yahoo! Mail - Send 10MB messages! > > > http://promotions.yahoo.com/new_mail=20 > > >=20 > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: > > user-help@ant.apache.org > > >=20 > >=20 >=20 >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around=20 > http://mail.yahoo.com=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 ------_=_NextPart_001_01C4A229.F1FAA270--