-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
19 lines (18 loc) · 826 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<project name="genTestReport" default="gen" basedir=".">
<description>
Generate the HTML report from JUnit XML files
</description>
<target name="gen">
<property name="genReportDir" location="${basedir}/unitTestReports"/>
<tstamp>
<format property="time.stamp" pattern="yy-MM-dd_HHmmss"/>
</tstamp>
<mkdir dir="${genReportDir}"/>
<junitreport todir="${basedir}/unitTestReports">
<fileset dir="${basedir}">
<include name="**/TEST-*.xml"/>
</fileset>
<report format="frames" todir="${genReportDir}/${time.stamp}"/>
</junitreport>
</target>
</project>