Create and link requirements

The testing lifecycle begins by identifying the specifications that your system under test needs to fulfill. In Tricentis Test Management for Jira, these specifications are called requirements. They're linked to your test cases to help you keep track of your testing progress.

In your Jira projects, you use the Requirement issue type to specify requirements. You can, however, use any issue type as a requirement in your test cases, such as a user story or a task. We recommend you choose the best approach based on how your Jira administrator has set up your projects.

Before you start creating requirements, we recommend that you sit down with your stakeholders or business analysts and gather the information you need to specify effective testing criteria.

Requirements can be functional or non-functional:

  • Functional criteria are things that your system under test must be able to do. For instance, accept credit cards as a method of payment in your online shop.

  • Non-functional criteria are requirements that are not strictly necessary for your application to function, but you must still meet them. For instance, system security standards or performance goals you need to comply with.

Example of a requirement in Tricentis Test Management for Jira

You can find all requirements in the Requirements tab in Tricentis Test Management for Jira.

The following sections explain how to create or add requirements and link them to test cases.

Create a new Requirement issue type

To create a Requirement issue type, follow these steps:

  1. In Jira, select the Create button.

  2. In the subsequent dialog, perform these steps:

    • Choose the Project that uses Tricentis Test Management for Jira.

    • Choose Requirement as the Issue type.

    • Fill out all relevant fields. For instance Fix versions, if you organize your tests in releases.

  3. Select Create.

Add an existing issue as requirement

You can specify any issue type as a requirement for your test cases. This is useful if your team wants to use stories or custom tasks as requirements without creating an additional Requirement issue type.

To add an existing issue as a requirement, follow these steps:

  1. Go to the Requirements tab.

  2. From the New requirement dropdown, select Add existing issue as requirement.

  3. Browse for an issue and select Add.

Add existing issue as a requirement

Link requirements to test cases

In Tricentis Test Management for Jira, you link requirements to test cases to organize your testing tasks by features and/or specifications. This allows you to have product scope development and testing progress under the same space.

Link test cases and then create test runs directly from a requirement

To link one or more requirements to a test case, follow these steps:

  1. In Jira, open the issue type or Requirement that you want to link to test cases.

  2. Select and then select Link test case.

  3. In the subsequent field, select covered by from the drop-down menu.

  4. In the field that follows covered by, enter the test case that you want to link to.

  5. If you want to link additional test cases to this requirement, repeat the process as required.

Generate test runs from a linked requirement

Once you've linked a test case and a requirement, you can generate test runs directly from the linked requirement. This allows you to focus your testing coverage using your requirements.

To create a test run from a requirement, follow these steps:

  1. From the Requirements tab, select the and then select Create test runs.

  2. Follow the instructions in the Create test run window to either create a new test cycle or select an existing test cycle.

 

Search your requirements

Sometimes, you need to focus on a small part of the bigger picture. In this case, use Filters & JQL to investigate specific requirements.

Select Filters & JQL to display these available search options:

  • Select Add filter to filter by specific parameters. For example, you could filter requirements by Priority.

  • Enter any keywords you want to search for in the Search field.

  • Toggle to JQL to perform an advanced search of your requirements with JQL. For more information on JQL, see the Atlassian help (opens in new tab).

Save filters

If you find yourself applying the same group of filters over and over, save yourself some work in the future. Just apply your filter(s), select Save filter, and follow the prompts on the screen. You can access all saved filters any time via the button. You can also save JQL features this way.

What's next

Now that you have created and linked your requirements, check how to import and export test cases from Tricentis Test Management for Jira.