This page is a snippet

For full information, see:

Snippet

Macro name: junitreport

Macro body: None.

Parameter name

Required

Default

Parameter description and accepted values

directory

Must include either the directory or the url parameter

(None)

URL of a directory containing your test result files. This must be a directory name and not the XML file itself. Overrides the url parameter if you use both.

Note: When using a local drive, you must use a directory name and not the XML file itself.

reportdetail

No

all

Level of detail required in the report.

Available values:

  • all
  • fixture
  • summary
  • failuresonly

url

Must include either the directory or the url parameter

(None)

URL of a particular test result XML file.

This parameter is overridden by the directory parameter if you use both.

For Confluence installations that require authentication, you can specify login credentials as part of this parameter, in the form of URL parameters:

  • os_username — The username of a Confluence user with permission to access the JUnit test results.
  • os_password — The password of the Confluence user specified in the os_username parameter.

debug

No

false

If the value of this parameter is true, the report will show the content of failures, as well as the error messages.

  • No labels