Re: How to run a single junit test method with ant

2013-05-19 Thread 肖谋
Thank you very much! I missed that important property. Regards xiaomou On Sun, May 12, 2013 at 11:33 PM, Antoine Levy Lambert wrote: > Hello Xiaomou, > > the documentation of the junit task > http://ant.apache.org/manual/Tasks/junit.html > mentions that the test nested element can have a metho

Re: How to run a single junit test method with ant

2013-05-19 Thread 肖谋
Thanks a lot for your help. Problem solved! On Tue, May 14, 2013 at 3:18 PM, Jan Matèrne (jhm) wrote: > Here is a skeleton which could be what you need. > ant test -Dtestclass=xy -Dtestmethod=xy : runs the testmethod in that > test class > ant test -Dtestclass=xy : runs