Details
-
New Feature
-
Status: Gathering Interest
-
Resolution: Unresolved
-
None
-
None
-
None
Description
As system, debug/output information on JUnit XML reports should be imported to the Test Run.
Some frameworks/tools generate JUnit XML reports in slightly different ways; some add output/debug information on attributes, or in the context, or on some specific elements.
Xray should import all this information and append it to the respective Test Run global comment field or the the result output message.
<?xml> <testsuite> <testcase> <skipped message="skipped_msg"/> ... or ... <error message="error_msg" type="error_type"> inner_error_msg </error> ... or ... <failure message="failure_msg" type="failure_type"> inner_failure_msg </failure> <system-out> testcase_stdout </system-out> <system-err> testcase_stderr </system-err> </testcase> <system-out> global_stdout </system-out> <system-err> global_stderr </system-err> </testsuite>
Test Run global comment | context output/error message |
---|---|
|
|
Example: global_stdout global_stderr |
Example: skipped_msg inner_error_msg failure_type inner_failure_msg testcase_stdout testcase_stderr |
Notes:
- the <skipped>, <failure> and <error> elements on the <testcase> are exclusive
- <system-out> and <system-err> are optional
References:
Attachments
Issue Links
- clones
-
XRAY-4993 As system, debug/output information on JUnit XML reports should be imported to the Test Run
- Gathering Interest