Look at the manual here:
http://ant.apache.org/manual/OptionalTasks/junit.html
specifically the section for batchtest. That task can be used to run a
suite of tests matching a specified pattern. This also allows you to not
have to code and maintain a class implementing the TestSuite API from junit.
hth,
Vijay
[EMAIL PROTECTED] wrote:
Hi Experts,
Can we run the TestSuites from ANT, there is no documentation
on how to run the TestSuites from ANT junt tasks.
If I follow the single test way, it just says " [junit] Test
dao.testsuite FAILED "
This is my tests target :
<target name="run-tests" />
<property name="dao.testsuite" value="/path/to/testsuite" />
<junit fork="yes" haltonfailure="no"
showoutput="yes">
<formatter type="plain"
usefile="true"/>
<classpath refid="tests.path" />
<test name="dao.testsuite"/>
</junit>
</target>
Can someone please explain whats the issue, best if I get some
examples with TestSuite implementation in ANT.
Thanks ,
Sumit
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]