Zephyr Squad Integration

Applies to ReadyAPI 3.57, last modified on December 20, 2024

Supported Zephyr Squad editions

Zephyr Squad is available for different Jira Software editions: Cloud, Server, and Data Center. ReadyAPI supports only Zephyr Squad Cloud.

Note: You can also use ReadyAPI command-line runners to configure automatic runs using Zephyr Enterprise. To learn how to do that, see the Zephyr Enterprise documentation.

About Zephyr Squad

Zephyr Squad adds a test issue type to your Jira projects. You use tests to declare test steps and describe the expected results. You organize tests by releases, link them to other Jira issues (tasks, stories, bugs and so on), assign tests to QA engineers and store the results of test runs.

For each release, you use one or more test cycles to plan your testing process and monitor the test results:

Zephyr Squad integration: A Zephyr Squad test cycle

Click the image to enlarge it.

To learn more about Zephyr Squad, see its documentation.

How integration works

Zephyr Squad contains information on how tests should be run and stores their results. QA engineers have to run tests manually and enter the results in Zephyr Squad.

Using Zephyr Squad integration in ReadyAPI, you can automate test runs and pass their results to Jira.

When you map your ReadyAPI project to Zephyr Squad, you bind it to an individual test cycle and associate a functional test case with a Zephyr Squad test. Thus, each time you run the test case, ReadyAPI will post its results to the test execution of the related test in the specified test cycle:

How Zephyr Squad integration works

Click the image to enlarge it.

Note: ReadyAPI will not update Zephyr Squad tests that are not included in the test cycle you set in your project options.

Requirements

To start using the integration, make sure your Jira instance has the Zephyr Squad - Test Management for Jira app installed:

Show how to install app

Enable integration

1. Connect ReadyAPI to Jira

Zephyr Squad integration: ReadyAPI preferences

Click the image to enlarge it.

  1. Open ReadyAPI Preferences.

  2. Switch to the Zephyr Squad tab.

  3. Specify all the settings on the tab:

    Option Description
    JIRA Cloud URL The URL of your Jira instance.
    Zephyr Squad Base URL The URL of the Zephyr Squad Cloud API:
    https://prod-api.zephyr4jiracloud.com/connect
    Login The username or email address of the user on behalf of which ReadyAPI will post the results. This user must have the appropriate permissions.
    If you use an API token (for example, when you use two‑step verification), you must use the email address.
    API Token or Password The API token or password of the user account.
    If you use two-step verification you must use an API token.

    How to get an API token

    Access Key
    Secret Key
    The access and secret keys for your Zephyr Squad installation.

    How to get Access and Secret keys

  4. To check whether your settings are correct, click Test Connection.

  5. Click OK.

2. Map a ReadyAPI project to Zephyr Squad

To post the results of test case runs to Zephyr Squad test executions, you need to map your test cases to Zephyr Squad tests. To do this:

  1. Open your project and click Map to Zephyr:

    Zephyr Squad integration: Map project to Zephyr Squad

    Click the image to enlarge it.

  2. Specify the following options in the subsequent dialog:

    Option Description
    Project Name The name of the Jira project.
    Version The release version of the Jira project with which you want to associate the ReadyAPI project.
    Cycle The test cycle with which you want to associate the ReadyAPI project.
  3. Associate test cases with Zephyr Squad tests by using a drop-down list next to each test case.

    Tip: You also associate a test case in the Test Case options dialog.

View ReadyAPI test results in Jira

Each time you run a test case, ReadyAPI posts the results of the test case run to the associated Zephyr Squad test execution within the specified test cycle:

Zephyr Squad integration: Cycle summary

Click the image to enlarge it.

For each failed test execution, ReadyAPI posts a comment with detailed information on what went wrong.

ReadyAPI replaces the existing comments.

To see the comments, select the needed test execution and switch to the Detail view:

Zephyr Squad integration: View test execution details

Click the image to enlarge it.

See Also

Integrations
JIRA Integration

Highlight search results