Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,474
Community Members
 
Community Events
165
Community Groups

Exporting Xray TestSet to Cucumber(Customize feature file name)

Hi,

We have Testsets with multiple tests grouped together. And, now if we wanted to export the TestSet into cucumber, the name of the featurefile is like appending all the summary names/issue number of tests underneath that, Is there a way we could only get the Summary of just the testSet as featurefile name when exported?

Example filename i'm expecting: animals.feature

But what I'm seeing as a featurefile name is:  1_antrabbit(+6).feature

 

Is there a way I could customize the featurefile name from setting ?

 

Or - If I customize the featurefile name, when I wanted to report the test results back to Jira would they be linked ? 

1 answer

Hi @Poojitha Vangala 

The only option available in Xray is this "Generate features file name using summary" that can be found in Xray settings. And when this option is enabled, the feature file name will contain the summary of the requirement issue or the test issue instead of their respective keys.

You can rename the file after being generated by Xray since, in the next step, you will send Xray the JSON report (the result of the execution of the automated testing) and not the feature file.

Kind regards,
Rogério Paiva [Xray Support Team]

I do not see this setting in the Xray settings.

Hi @Anne Gallant 

Please go into the Jira Settings -> Apps, then look for the Xray settings and then the Cucumber options on the left side pane.

Thank you.

Kind regards,
Rogério Paiva [Xray Support Team]

Hi,
We have Xray 5.1.2 , I don't find cucumber Option on Xray setting ? And of course
Generate features file name using summary..
Please I have you a video to show us the setting.
Thanks 
Philippe

Hi @philippe maire 

This threat is about Xray Cloud, and it is a different app from Xray DC/Server, so some features may not exist in both. And such is the case of this feature; it exists in Xray Cloud but not yet in Xray DC/Server.

We have this improvement suggestion (https://jira.getxray.app/browse/XRAY-3925) reported and gathering our customers' interest.
Please vote and watch it so that you can receive email alerts.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Thank you, but how to export features, one file by feature ? With no requirement. 

Kind regards,
Philippe 

Hi @philippe maire 

Currently, it is not possible to have that. What is viable is to generate the feature files based on requirements, using the option "Generate features by requirements" (https://docs.getxray.app/display/XRAYCLOUD/Global+Settings%3A+Cucumber).

However, please get in touch with Xray Support (http://Xraysupport.getXray.app) to share your use case to analyze it and try to find options.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

367 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you