ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Choosing junit tests
Date Fri, 24 Sep 2004 10:19:08 GMT
yes ... but not directly ...

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.

Have found my earlier posting on JGuru :)
http://www.jguru.com/forums/view.jsp?EID=1163524

Jan

> -----Ursprüngliche Nachricht-----
> Von: André Dantas Rocha [mailto:ad-rocha@uol.com.br]
> Gesendet am: Freitag, 24. September 2004 12:14
> An: user@ant.apache.org
> Betreff: Choosing junit tests
> 
> Hi,
>  
> Is there a way to specify the junit tests to run?
>  
> Something like this:
>  
> public classe MyTestCase extends TestCase {
>   public void testCase1 {}
>   public void testCase2 {}
>   public void testCase3 {}
> }
>  
> I would like to run only testCase2 and testCase3. Is it possible?
>  
> Thanks,
>  
> André 
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message