# Linking a Test Case to User Story

When creating a new test case, simply select the corresponding user story from a dropdown list.&#x20;

This seamless integration ensures that your testing efforts align perfectly with the product backlog, helping you:

* **Improve test coverage:** Guarantee that all aspects of a user story are thoroughly tested.
* **Enhance traceability:** Easily track which test cases validate a particular user story.
* **Facilitate test planning:** Efficiently create test cases based on user story requirements.
* **Streamline reporting:** Generate comprehensive test reports linked to user stories.

### Steps to Link a Test Case to a User Story in SimplifyQA

1. Navigate to the test case module and open the test case you want to link to a user story.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FXk6jsBjNVhrnT11ZW8MH%2FTest%20Case%20from%20left%20panel.png?alt=media&#x26;token=8b0a40c4-d8c1-4c9f-961b-0d32ce77408a" alt=""><figcaption></figcaption></figure>

2. Click on the “User Story” Option.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FcnKguKb0teXZLvSZq4Yk%2FUser%20story.png?alt=media&#x26;token=19ff59e1-6ca0-4ac6-aca2-30cd86a7f559" alt=""><figcaption></figcaption></figure>

3. Select the User Story from the list of available stories.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2F4vag9SmVFUjkfhPPZHEI%2Fselect%20user%20story.png?alt=media&#x26;token=1a73eef4-9179-4d83-91ce-3ee4c51eb2ad" alt=""><figcaption></figcaption></figure>

4. Once selected, click Save to establish the link.
5. The test case will now be associated with the user story, ensuring traceability.

By linking test cases to user stories in SimplifyQA, teams can ensure that requirements are thoroughly tested, reducing defects and improving software quality.

### Frequently Asked Questions (FAQs)

<details>

<summary>Why is it important to link test cases to user stories?</summary>

Linking test cases to user stories ensures that each requirement has been validated through testing, helping teams track coverage and maintain alignment with business goals.

</details>

<details>

<summary>Can I link multiple test cases to the same user story?</summary>

Yes, you can link multiple test cases to a single user story to test different aspects of the functionality.

</details>

<details>

<summary>How do I check if all user stories have associated test cases?</summary>

You can use traceability reports in SimplifyQA to track which user stories have test cases linked and identify any gaps.

</details>

<details>

<summary>Can I modify or remove a linked user story?</summary>

Yes, SimplifyQA allows you to edit or unlink a test case from a user story if needed.

</details>
