Hello,
we would like to compare different xray Test Executions e.g. the current one for a dev branch and one for some PR to see how that PR affects the results.
Of course, it would be possible to get this result using the API and do some magic.
But is there a better way to do this, e.g. a plugin or some Jira functionality?
I also asked the xray support and there was not suitable answer.
Our developers must be able to see the impact of each PR on a defined test plan. The baseline is the result of the test plan for e.g. the current development branch.
It's a rather simple thing and I put it together myself using the xray API in a few hours.
The following is now added as a PR comment (with some markdown) once the webhook-triggered tests are done.
Hi can you explain how you got it done?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a Python script bound to a commit or push hook. I am reading the test results using the Xray REST API for the associated test run for this PR and for the main branch. Then I compare the existence and the results for the tests. Afterwards I put together a Markdown table with the results and add that to the PR as a comment using the Bitbucket API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Walter White ,
Yes, you may use the Document Generator as @Damian Wodzinski suggested.
Or you may use the Test Execution report, please check its documentation page here: https://docs.getxray.app/display/XRAY/Test+Executions+Report
Thank you.
Kind regards,
Rogerio Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How to compare them? Which data would be compared?
For simple puproses, you can use xray Document generator to create a template with necessary fields. Then just filter the runs, and generate a document. The data you need can be exported to excel this way, and there you can compare it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.