I am trying to integrate the testng execution results with X-ray and Jira. For this , I am importing the testng-results.xml file to Jira with X-Ray API. I want to know how i can map the Jira IDs with that output coming in xml because the x-ray takes the method name from the xml and map it with the summary field of the Jira ID and if it is not matched , it creates a new Jira ID.
Hi everyone,
the integration is detailed here: https://confluence.xpand-it.com/display/XRAY/Taking+advantage+of+TestNG+XML+reports
You can see a concrete example here: https://confluence.xpand-it.com/display/XRAY/Testing+using+TestNG+in+Java
You have to use a custom listener if you wish to override the automatic mapping/autoprovisioning based on the classname.
You can use the custom code found on the previous example, or you can use the following maven plugin for a cleaner integration :)
https://github.com/bitcoder/xray-testng-extensions
Note: you can always reach out Xray support team in case you have technical doubts or any other issues.
Regards
Sergio
=======================================
Personal blog on testing, Agile and software development: https://sergiofreire.com
Follow me on Twitter: https://twitter.com/darktelecom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.