- bansal.vikas1
- Posts : 4
Join date : 2012-05-24
How to use ANT build to create HTML reports in Eclispe
Thu May 24, 2012 8:26 pm
How to use ANT build to create HTML reports in Eclispe
- freeskyAmateur
- Posts : 72
Join date : 2011-04-13
Re: How to use ANT build to create HTML reports in Eclispe
Mon May 28, 2012 11:29 am
- Code:
<target name="JUnitTemp">
<mkdir dir="${junit.output.dir}"/>
<junit fork="yes" printsummary="withOutAndErr">
<formatter type="xml"/>
<test name="junit.JUnitTemp" todir="${junit.output.dir}"/>
<classpath refid="Exercise.classpath"/>
</junit>
</target>
<target name="junitreport">
<junitreport todir="${junit.output.dir}">
<fileset dir="${junit.output.dir}">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${junit.output.dir}"/>
</junitreport>
</target>
Permissions in this forum:
You cannot reply to topics in this forum