You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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