This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant version.

JUnit Report Macro

All Versions
Click for all versions
Confluence 2.9 Documentation

Index

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 User Guide

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.