Xray: Coverage hierarchy and feature files generation

Rabab Lembachar
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!
July 28, 2021

Hello,

 

I'm trying to setup traceability and coverage using JIRA and Xray.

I have two levels of requirements : Upper and lower requirements.

I then attach my tests which are of Cucumber type to the lower requirements. I then export these tests in feature files.

I would like to have coverage for both lover and upper requirements, so for that I linked the issues by the Covers relationship and specified that link in Xray configuration for it to consider the hierarchy between requirements.

The approach works but has an unfortunate side effect : exported feature files also follow the issues hierarchy and I have my Cucumber tests that are exported in a feature file that describes the upper requirement instead of the lower requirement.

Any way I can change that and generate feature files at the right level ?

 

Thanks !

1 answer

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2021

Hi @Rabab Lembachar 

Please try this, disable this option Generate features by requirements found in the Xray configuration in Cucumber Settings.

And check if the features files return the output you need.

Thank you.

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events