Line | |
---|
1 | <?xml version="1.0"?>
|
---|
2 |
|
---|
3 | <project name="junitreport-test" basedir="." default="reports">
|
---|
4 |
|
---|
5 | <property name="jrdir" location="junitreport"/>
|
---|
6 | <property name="outputdir" location="${jrdir}/test"/>
|
---|
7 |
|
---|
8 | <!-- reports1 take care of transformation of 2 test result files and
|
---|
9 | produce reports according to the default format (frames)
|
---|
10 | needed for testNoFileJunitNoFrames -->
|
---|
11 | <target name="reports1">
|
---|
12 | <mkdir dir="${outputdir}"/>
|
---|
13 | <mkdir dir="${outputdir}/html"/>
|
---|
14 | <junitreport todir="${outputdir}">
|
---|
15 | <fileset dir="${jrdir}">
|
---|
16 | <include name="TEST-*.xml"/>
|
---|
17 | </fileset>
|
---|
18 | <report todir="${outputdir}/html"/>
|
---|
19 | </junitreport>
|
---|
20 | </target>
|
---|
21 |
|
---|
22 | <target name="clean">
|
---|
23 | <delete dir="${outputdir}"/>
|
---|
24 | </target>
|
---|
25 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.