Skip to content

Instantly share code, notes, and snippets.

@andrefreitas
Last active December 14, 2015 16:58
Show Gist options
  • Save andrefreitas/5118442 to your computer and use it in GitHub Desktop.
Save andrefreitas/5118442 to your computer and use it in GitHub Desktop.
An example of build.xml for ant to run junit tests
<project name="Cflow" default="cflow-tests" basedir=".">
<target name="cflow-tests">
<junit printsummary="yes" haltonfailure="yes">
<classpath>
<pathelement location="libs/junit.jar"/>
<pathelement location="."/>
</classpath>
<test name="cflow.tests.TestDFA" haltonfailure="no" outfile="result">
<formatter type="plain"/>
<formatter type="xml"/>
</test>
</junit>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment