forked from marcesher/org.mxunit.eclipseplugin
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjunit_ant.xml
More file actions
42 lines (29 loc) · 1017 Bytes
/
junit_ant.xml
File metadata and controls
42 lines (29 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<project name="junit ant stuff" default="main" basedir=".">
<target name="main">
<property name="src.tests" value="test" />
<property name="reports.tests" value="testresults" />
<property name="reports.tests.html" value="${reports.tests}/html"/>
<junit printsummary="yes" haltonfailure="no">
<classpath>
<pathelement location="bin" />
<fileset dir="lib">
<include name="*.jar" />
</fileset>
<pathelement path="${java.class.path}" />
</classpath>
<formatter type="xml" />
<batchtest fork="yes" todir="${reports.tests}">
<fileset dir="${src.tests}">
<!-- <exclude name="**/*Test*.java" />-->
<include name="**/AllTests.java" />
</fileset>
</batchtest>
</junit>
<junitreport todir="${reports.tests.html}">
<fileset dir="${reports.tests}">
<include name="*.xml" />
</fileset>
<report format="frames" todir="${reports.tests.html}" />
</junitreport>
</target>
</project>