Loading
                                        "> JUNIT with ANT                                         ">

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  How to run JUNIT and generate a Report by using ANT ?


Ans)

 <target name="test-Junit" depends="init">
      <junit fork="no" haltonfailure="no" failureproperty="tests.failed">
        <classpath refid="classpath.clientside" />
        <formatter type="xml" />
        <test name="test.TestSuite" haltonfailure="no" todir="${reports.junit.dir}" />
      </junit>

    </target>



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

JUNIT with ANT


JUNIT with ANT

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free