Documentation for Confluence 2.5.4 - 2.5.8.
Documentation for [Confluence Cloud] and the latest Confluence Server is available too.

The JUnit Report Macro displays a summary of JUnit test results from a directory accessible from the Confluence server.

When generating reports, set ant formatter to 'XML'.

Junit Report Macro

{junitreport:directory=file:///*directory*/}

or

{junitreport:url=http://*host*/*path*}

where:

directory : URL of a directory containing your test result files.
url : URL of a particular test result XML file.
reportdetail: Detail for report. Can be 'all', 'fixture', 'summary' or 'failuresonly'.
debug: Shows the content of failures, as well as the error messages.

RELATED TOPICS

Working with Macros

Take me back to Confluence 2 User Guide

  • No labels