---
title: "Space Settings: Test Coverage"
canonical: "https://docs.getxray.app/space/XRAYCLOUD/44566845/Space%20Settings%3A%20Test%20Coverage"
format: markdown
---
> Macro (toc)


The Space administrator can choose which of the available Work Item types should be handled as testable/coverable entities by dragging them to the corresponding target box. 

<span style="color: #000000">A testable/coverable entity is a Work Item that you can cover with Tests in order to validate its acceptance criteria. It can be a Story, Epic, Bug or any custom Work Item type you may have.</span>

<span style="color: #000000">Note that you can also cover your defects (e.g., Bug) with tests, as long as you configure them as </span><span style="color: #000000">**Coverable Issue Types**</span><span style="color: #000000">.</span>

![image](media://8bf33d3f-f8c0-4fcf-9a9f-0773c2c1433b)

## Example of a possible setup

![image](media://c99173cf-0bee-49c6-a659-a93429baec9f)

## Test Coverage Hierarchy

In this section, you can define how Requirements and Sub-Requirements are associated. If the Jira link mechanism is used, then the **Issue Link Type Direction** must be chosen as well as the direction from the **parent** requirement to the **child** requirement. If Sub-Tasks are used, then simply check the **Issue - Sub-Tasks relation** option. Note: The Sub-Task requirement issue types must also be associated with "Requirements" in the [Space Settings: Test Coverage](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44566845) section. 

#### Use Epic - Stories relation

When this option is enabled, Story issues are associated with Epic issues as Sub-Requirements.

#### Issue - Sub-Tasks relation

When this option is enabled, Sub-Requirements are associated with Requirements by Sub-Task Issues. When this option is disabled, Sub-Requirements are associated with Requirements with issue link configurations below.

#### Issue Links relations

A specific Issue link type for the Requirement -> Sub-Requirement relationship.

#### Issue Link Type Direction

Select the Link Direction for the parent -> child relationship of the Requirement -> Sub-Requirement.



> ℹ️ For more information on the Requirement Status and coverage calculation, please refer to the [Coverage Analysis](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565185).