<property file="build.properties"></property>
<target name="test-html">
<mkdir dir="${test.reports}"/>
<junit fork="yes" printsummary="no" haltonfailure="no">
<batchtest fork="yes" todir="${test.reports}" >
<fileset dir="${classes}">
<include name="**/*Suite.class" />
</fileset>
</batchtest>
<formatter type="xml" />
<classpath>
<pathelement path="${classes}"/>
<pathelement path="${junit.lib.path}"/>
<pathelement path="${hamcrest.lib.path}"/>
</classpath>
</junit>
<junitreport todir="${test.reports}">
<fileset dir="${test.reports}">
<include name="TEST-*.xml" />
</fileset>
<report todir="${test.reports}" />
</junitreport>
</target>
</project>Dear All,
Please download and copy these files directly under the JUnitSample Project Folder.
Thanks and Regards,
Vivek Mehta
No comments:
Post a Comment