0

I have written some test cases and i wanted to execute this test result to Jira/Xray. I didnt find any dart plugin for make json and import that result with xray api within github workflow. Is there are any dart plugin or way we can achieve this? Any Help and suggestion would be appreciate. Thanks

I did try with JUnit output format but i wanted to achieve this with Xray Json api format api which is /rest/raven/1.0/import/execution.

shilpa vania
  • 11
  • 1
  • 3
  • Hi, to be able to better answer your question, can you please clarify why the JUnit XML report is not enough for you? Any special reason to prefer the Xray JSON format instead? – Sérgio Mar 16 '23 at 08:24
  • As per document JUnit does't have any param for having execution with each steps and in Xray Json there's option for passing result for each steps of test. is there are any way we can achieve same for JUnit too? – shilpa vania Mar 17 '23 at 05:39
  • No. Unfortunately, JUnit XML schema doesn't support that. – Sérgio Mar 17 '23 at 09:48

1 Answers1

0

Currently, there is no dart plugin (at least that I'm aware of) to generate Xray JSON reports. However, you can integrate with Xray using JUnit XML reports as shown on the tutorials ahead. This will allow you to autoprovision Test issues whenever importing test results (if needed), and also track their overall status (e.g., pass/fail).

  1. tutorial for Xray on Jira cloud
  2. tutorial for Xray on Jira server/datacenter
Sérgio
  • 1,777
  • 2
  • 10
  • 12