This page last changed on Jul 06, 2005 by tom@atlassian.com.

Display a summary of JUnit test results from a directory accessible from the Confluence server.

When generating reports, set ant formatter to "xml".

Usage:
{junitreport:directory=file:///*directory*/\}
OR
{junitreport:url=http://*host*/*path*\}

parameter Required Default Description
directory no none URI of a directory containing your test result files.
url no none URI of a particular test result XML file.
reportdetail no 'fixture' Detail for report. Can be 'all', 'fixture', 'summary' or 'failuresonly'.
debug no false Show the content of failures, as well as their message.

We use Maven to generate junit reports. Can this use the output from Maven?

Posted by kango_v at May 25, 2005 07:53

Do you know where can I get the format for this JUnit xml?
Do you have some that I can download as an example?

Thank you!

Posted by at Jul 05, 2005 09:04

Yes - Maven produces XML from Junit, I believe it's located in the target/test-reports directory.

Cheers,
Mike

Posted by mike@atlassian.com at Jul 08, 2005 10:58

The format is simply the junit standard XML format. If you set your junit output to be "xml" you will see an example of the format.

Cheers,
Mike

Posted by mike@atlassian.com at Jul 08, 2005 10:58

is it possible to specify a url to a web server hosting a directory full of xmls without having to specify each xml explicitly?

Posted by paul.rhoades@ubs.com at Aug 31, 2006 10:28
Document generated by Confluence on Mar 22, 2007 20:54