Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Xray : Is there a way to run selective tests on xray with Jenkins ?

Akash Singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 22, 2025

I have two questions.

1. How to run selective tests on xray with jenkins. Let's say I have 5 test cases to run in regression. Is there any way to select those 5 tests in a test execution and trigger a job on jenkins and get the results back. While getting the results back from jenkins, what i saw was new task was created rather than updating the existing test case when run for the first time

 

2. If I have a manual test case, how can I convert it into automated test and connect it with a unit test so that i can run it with jenkins ?

1 answer

0 votes
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2025

Hi @Akash Singh 

regarding your first question:

There are different ways of organizing tests. One of them (and in your case I would suggest this one) are Test Sets

https://docs.getxray.app/display/XRAYCLOUD/Test+Set

You could eg. create a Test Set as a container for regressions test cases and create a Test Execution from that Test Set.

As far as I know to there need to be a special naming convention in the unit test case to map to an existing test case. The test case furthermore needs to be of type "generic". see details here:

https://docs.getxray.app/display/XRAY760/Import+Execution+Results+-+REST#ImportExecutionResultsREST-HowresultsaremappedtoTestentities

 

This should also answer your 2. question.

 

Please let us know if there are any further questions.

 

Best
Stefan

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events