Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleSupported versions

Xray supports https://xunit.github.ionet/docs/format-xml-v2.

xUnit Basic Concepts

In xUnit, you have Tests and Collections. A Collection is a way of aggregating a group of tests, along with their results.

...

Gliffy Diagram
nameXUnit Copy
pagePin12

Entities

xUnit’s Test Cases are identified by the pair of attributes “type” and “method” attributes.

...

xUnit.net XML report

Test in Jira

"method" attributeSummary field
"type" attribute + "." + "method" attributeGeneric Test Definition custom field
"value" attribute of the "trait" whose name is "labels" under the <traits> tag, within some <test>, containing one or more labels delimited by spacelabels
"value" attribute of the "trait" whose name is "test" under the <traits> tag, within some <test>, containing a Jira key of the Test issueidentification of Test issue key in Jira
"value" attribute of the "trait" whose name is "requirement" under the <traits> tag, within some <test>, containing one Jira key of the requirement/coverable issuelink to requirement

 

Notes:

  • If the "test" Trait contains multiple references to Test entities, only the first instance is considered.
  • If the "test" Trait is used explicitly, then the Test must exist; otherwise, it will not be imported.

...


Note
: Test Cases with the status FAIL may have an error/failure message, which can be seen in the Test Run screen, under the Results section.

References