ends="-test.check,-test.suite,-test.class,-test.method,-test.error"
> description="Runs the tests"/>
>
>
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: Antoine Levy Lambert [mailto:anto...@gmx.de]
> > Gesendet: Sonntag, 12. Mai
whole
> >> test suite
> >>
> >> - that two targets are conditional according to that property
> >>
> >>
> >>
> >> Jan
> >>
> >>> -Ursprüngliche Nachricht-
> >>> Von: Matt Benson [mail
evy Lambert [mailto:anto...@gmx.de]
> Gesendet: Sonntag, 12. Mai 2013 17:34
> An: Ant Users List
> Betreff: Re: How to run a single junit test method with ant
>
> Hello Xiaomou,
>
> the documentation of the junit task
> http://ant.apache.org/manual/Tasks/junit.html
&
targets are conditional according to that property
>>
>>
>>
>> Jan
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Matt Benson [mailto:gudnabr...@gmail.com]
>>> Gesendet: Freitag, 10. Mai 2013 16:55
>>> An: Ant Users List
et: Freitag, 10. Mai 2013 16:55
> > An: Ant Users List
> > Betreff: Re: How to run a single junit test method with ant
> >
> > Typically this would be done using separate targets. Ant's own
> > build.xml provides an example.
> >
> > HTH,
> > Matt
&
: Matt Benson [mailto:gudnabr...@gmail.com]
> Gesendet: Freitag, 10. Mai 2013 16:55
> An: Ant Users List
> Betreff: Re: How to run a single junit test method with ant
>
> Typically this would be done using separate targets. Ant's own
> build.xml provides an example.
>
>
Typically this would be done using separate targets. Ant's own build.xml
provides an example.
HTH,
Matt
On Thu, May 9, 2013 at 11:33 PM, 肖谋 wrote:
> Hi, Users.
>I am using ant in Linux. I can use ant junit task to run all test
> methods in a junit4 test class but fail to find the way to
Hi, Users.
I am using ant in Linux. I can use ant junit task to run all test
methods in a junit4 test class but fail to find the way to run a single
test method. I googled and found a helpful article at
https://today.java.net/pub/a/today/2003/09/12/individual-test-cases.html.
However, the solu