If you run build test on Excalibur, the output can be a little
overwhelming. It is not easy to get a feel for the overall state of the
project without looking over each test result one by one, making sure
that they passed.

Luckily ant has the JunitReport task, which creates a beautiful set of
html reports clearly showing the results of the test suite.

I wanted to ask before making this change because it would require that
the test outfiles be changed from text files to xml files.

I'll start with my +1

Here is the diff of build.xml if you would like to try it out:

cvs -z3 diff build.xml (in directory E:\Jakarta\jakarta-avalon-excalibur\)
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/build.xml,v
retrieving revision 1.88
diff -r1.88 build.xml
302c302
< <formatter type="plain"/>
---
> <formatter type="xml"/>
327c327,333
<
---
>
> <junitreport todir="${build.reports}">
> <fileset dir="${build.reports}">
> <include name="TEST-*.xml"/>
> </fileset>
> <report format="frames" todir="${build.reports}/html"/>
> </junitreport>

After running build test, look at build/reports/html/index.html in your
browser.

Cheers,
Leif


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to