[Anthill-pro] Harvesting Ant JUnit html

Uldis Karlovs-Karlovskis uldisk at ctco.lv
Fri Apr 18 01:12:40 CDT 2008


imo opening anthill produced report is much slower than generated html. In
the same time html generation is time consuming so we`re generating html
reports on Nightly builds and publish xml`s on continuous. It would be nice
if Anthill JUnit reports will be redesigned to show only summary and allow
user to choose to go deeper for specific tests.

 

Regards,

Uldis, C. T. Co

 <mailto:uldis.karlovs-karlovskis at ctco.lv> uldis.karlovs-karlovskis at ctco.lv

 

-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Steve Boone
Sent: ceturtdiena, 2008. gada 17. aprīlī 23:16
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Harvesting Ant JUnit html

 

Wes,

We would recommend the JUnit Publisher step. The publisher actually reads
JUnit's XML files and produces a report as well as inserts them into the
database so the tests will be associated with the build life. This makes the
results available on the build life's Tests tab. You just need to point the
step at the directory containing the XML output files.




On Thu, Apr 17, 2008 at 4:11 PM, Wes Bramhall <WesB at widen.com> wrote:

I have a job that runs an Ant builder that executes unit tests. Ant has
a built in junitreport task that generates HTML from the test XML files.
How would I harvest that HTML during the build so it ends up in a safe
location (currently it gets blown away each build) that is servable
through the Anthill server?

For example:

A build kicks off and ends up running job 32. This runs the unit tests
and creates HTML and XML files in the junit-reports directory in the
working dir. I want to harvest the HTML and store it in a folder
associated with job 32 that can be served up by Anthill with a URL like

ci.blah.com:8080/artifacts/job32/junitreports/index.html as I would like
to include this link in the email sent out at job end.

I've tried artifact sets but don't fully understand how to use them, so

maybe that's the fix? I know there is a JUnit Publisher but for numerous

results (2000 tests) the resulting HTML is much harder to browse than
Ant's.

Thanks,
-Wes
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080418/ca654651/attachment.htm


More information about the Anthill-pro mailing list