Page History
...
Info | ||
---|---|---|
| ||
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 | ||||
---|---|---|---|---|
|
Entities
xUnit’s Test Cases are identified by the pair of attributes “type” and “method” attributes.
...
xUnit.net XML report | Test in Jira |
---|---|
"method" attribute | Summary field |
"type" attribute + "." + "method" attribute | Generic 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 space | labels |
"value" attribute of the "trait" whose name is "test" under the <traits> tag, within some <test>, containing a Jira key of the Test issue | identification 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 issue | link 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
- https://xunit.github.iocom/xunit
- https://xunit.github.ionet/docs/format-xml-v2