Versions Compared

Key

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

...

A Requirement represents a singular documented physical and functional need that a particular product or process must be able to perform. They are It is also an important input into the verification process, since tests a test should trace back to a specific requirementsrequirement, showing what elements and functions are necessary for the particular project. Most of the timestime, Requirements are the only coverable/testable entities.

...

These two concepts can be mapped to different issue types in organisationsorganizations.

Both Requirement and Defect issue types in your JIRA Jira instance (as well as any other issue type) can be configured in the Xray project settings as coverable/testable entities. When a an issue type is configured to be coverable/testable, Xray provides specific web panels and reports to display the coverage of issues and also as well as their latest status regarding testing. 

Defect issues types can also be mapped in the Xray project settings as being "Defects". With this configuration, Xray sets the default issue type when creating defects from testing, as well as providing reports specific to defects.

...

Info
titlePlease note

Both the Test Coverage and Defects can be configured for each project independently. Go to Project Settings > Xray settings.


A typical JIRA typical Jira configuration can have the following issue types configured for Test Coverage or mapped as Defects.

...

Often, a Defect issue type is also configured as a testable entity. To assert ascertain that a Defect does not occur again, it can be also considered for testing. Xray allows the same issue type to be mapped as being Coverable and as being a Defect.   So, a Defect can also A Defect can then be associated with Test issues and be considered for Test Coverage charts. 

...


Requirements and Defect issues can be associated with Tests and Test Set issues with within the Jira default linking mechanism. There are specific issue link types for associating these issue types:

...

Info

Customizing the "Tests" Issue Link Type: During the installation of Xray, the Issue Link Type "Tests" that is used in the associations association between Tests/Test Sets and Coverable (e.g., requirements) entities is automatically created. You can customize the default name, outward and inward description of this Issue Link Type, but after that, it is required you need to disable and then enable the add-on in the 'Manage add-ons' page.

Issue By default, the issue link "Test" has by default "tests" and "tested by" as outward and inward descriptions, respectively.

If you decide to downgrade to a version <= 3.0.x, make sure you restore the default Issue Link Type names and descriptions; otherwise, Xray will create new Issue Link Types.

...

- 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.


From the Test issue view screen

...

- 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.



From the Test Set issue view screen

...

- 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.


Associating a Defect with a Test

...

- Input the desired Test 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.


From the Test issue view screen

...

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

Step 5: Click Link.