ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From supareno <reno.rkc...@free.fr>
Subject Re: How to specify other JUnitTestRunner in junit task
Date Thu, 17 Sep 2009 11:15:19 GMT
Gao,

have you tried the  @RunWith annotation? since junit 4.x
http://www.jdocs.com/junit/4.1/org/junit/runner/RunWith.html

supareno
> Hi:
>
>   Is it possible to specify own JUnitTestRunner instead of
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner in
> JunitTask ? If possible, in which version it will work.
>
>   I need my own JUnitTestRunner to execute extra codes before each
> test case executed.
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message