Problem
Inside the Test Coverage section of a Requirement Issue, the Test Status show as "N/A", even though they are Executed and we don't have a custom status "N/A".
Solution
Xray Server/DC have some Coverage Settings configurations that could be affecting the Test Coverage calculations:
- Navigate to Jira Administration>> Manage Apps >> Xray >> Requirement Coverage configuration screen.
- Check what Requirement Coverage Strategy is selected:
- If "Use versioned Test Sets for Requirement Coverage" is selected, only Tests within Test Set with Fix Version assigned will be considered for coverage. (Showing with N/A status if added to a Requirement)
- If "Use versioned Test Sets for Requirement Coverage" is selected, only Tests within Test Set with Fix Version assigned will be considered for coverage. (Showing with N/A status if added to a Requirement)
- Check if a workflow status in the
- If a workflow status is selected in this option, all tests with this workflow status will not be considered for Test Coverage calculation. (Showing with N/A status if added to a Requirement)
- If a workflow status is selected in this option, all tests with this workflow status will not be considered for Test Coverage calculation. (Showing with N/A status if added to a Requirement)
- Adjust the configuration to include or exclude the Tests within the Test Coverage calculation as you see fit.
Please notice that there is no preferable option and the use of this configuration can vary depending on your testing strategy.