Re: How to specify other JUnitTestRunner in junit task

2009-09-17 Thread supareno
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 v

How to specify other JUnitTestRunner in junit task

2009-09-16 Thread Gao Lin
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. -- Thanks and Best Regard