Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Within a Requirement issue, a web panel named "Test Coverage" is provided by Xray. This panel allows users to cover an issue with Tests and (or Test Sets) and also analyze the status of the requirement in terms of testing based on the latest execution results for different scopes.

...

In order to cover a requirement issue with Test cases, you need to create Jira issue links between the requirement and Test or Test Set issues. It is also possible to create new Tests directly from the Requirement issue.

Create Tests

This action allows you to access the create issue dialog, with some preset field values such as "Test" issue type and link to the requirement issue.

...

Associate Tests or Test Sets (using the Xray issue picker)

This option allows you to create Jira issue links between the Requirement and Test or Test Set issues thus covering the requirement with Test cases.

...

This operation can be performed using the Issue Picker Dialog which allows you to search, and select multiple issues to link with the Requirement. JQL searches are also possible. This dialog replaces the native Jira issue link dialog making it easy to associate Tests (or Test Sets) with requirement issues.


Associate Tests or Test Sets (using plain Jira issue Links)

Because the association between Requirement issues and Test (or Test Set) issues is done using Jira issue Links, you can just use the Jira issue linking actions as well.

From the Requirement issue view screen

Step 1: Open the Requirement you wish to associate a Test with. In the given example, New Feature issue types are mapped as Requirements.

Step 2: Select More > Link. The Link screen will appear.

Image Added

Step 3: On the This issue field, select the tested by option.

Step 4: In order to select the Tests or Test Sets to be associated, you can:

- Input the desired Test/Test Set Issue Key on the Issue field;
- Click on the Down Arrow on the Issue field and select the Test from its History Search list;
- Click on the search for an issue link to use the Find Jira issues browser;

Step 5: Click Link.

Image AddedImage Added


Info
For a more detailed description of the Test Coverage Web Panel within Requirement issues and how to associate Tests (or Test Sets) with Requirements, refer to Test Coverage.

From the Test issue view screen

Step 1: Open the Test you wish to associate a Requirement with.

Step 2: Select More > Link. The Link screen will appear.

Image Added

Step 3: On the "This issue" field, select the "tests" issue link type.

Step 4: In order to select the Requirements to be associated, you can:

- Input the desired Requirement Issue Key on the Issue field;
- Click on the Down Arrow on the Issue field and select the Requirement from its History Search list;
- Click on the search for an issue link to use the Find Jira issues browser;

Step 5: Click Link.

Image AddedFrom Defect issuesImage Added


Tests data table

Once you have already Tests or Test Sets covering a requirement issue, you'll be able to see a data table directly below the Test Coverage analysis scope section. 

...