Search
Display results as :
Advanced Search
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
bansal.vikas1
Posts : 4
Join date : 2012-05-24

How to use ANT build to create HTML reports in Eclispe Empty How to use ANT build to create HTML reports in Eclispe

on Thu May 24, 2012 8:26 pm
How to use ANT build to create HTML reports in Eclispe
avatar
freesky
Amateur
Amateur
Posts : 72
Join date : 2011-04-13

How to use ANT build to create HTML reports in Eclispe Empty Re: How to use ANT build to create HTML reports in Eclispe

on 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>
       
Back to top
Permissions in this forum:
You cannot reply to topics in this forum