Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#FFBDAD

Starting Release 8.2, Zephyr Enterprise documentation is moving from its current location on Atlassian to a dedicated, standalone Zephyr Enterprise Documentation page. Please see: https://support.smartbear.com/zephyr-enterprise/docs/en/zephyr-enterprise/zephyr-user-guide/test-repository/sharing-test-cases.html

About

Zephyr provides users with the ability to share test cases across multiple projects and test repositories. You can share test cases from releases to other projects in the system as well as from the global test repository.

...

To share a test case, perform the following steps:

  1. Click the (blue star)  button on the folder you want to share a test case to:

...

  1. Image Added

  2. Click Share Testcases:

...

  1. Image Added

    A dialog will open with your local test repository on the left and other available test repositories on the right:

...

  1. Image Added

  2. Navigate through the available test repositories on the right, select the needed test case, and drag it to the destination folder in your local test repository:

...

  1. Image Added


    The shared test case will appear in your current test repository on the left:

...

  1. Image Added


    Now, when you close the Share Testcases dialog, you will see the shared test case in the list of test cases of your current release:

...

  1. Image Added

(info) In the Share Testcases dialog, you can also search for test cases you want to be shared. To do that, switch to the Search tab, specify the project and release you want to share test cases from, enter a ZQL query, and click Go:

Image Modified

Map shared test cases

If a shared test case is mapped to a requirement in another release and you want it to be mapped to that requirement in your current release, there is no need to map it from scratch. You can map it automatically by adding the needed requirement to your current release. Here is how you can do that:

Suppose, you have Release 1.0 that has the test case “test 1” mapped to the “Req1” requirement, and you have shared the test case to Release 2.0 (see above). Now you want to map the test case to Req1 in Release 2.0 as well. To do that:

  1. Navigate to Requirements and in the Project Requirements repository, select the folder containing the requirements of the needed release (in our case, these are the requirements of Release 1.0):

...

  1. Image Added

  2. Select the requirement to which the shared test case is mapped in Release 1.0 and click Allocate to add the requirement to your current release (Release 2.0 in our example):

...

  1. Image Added

    The requirement will appear among the requirements of your current release and will be automatically mapped to the shared test case:

...

  1. Image Added


    Now if you switch to Test Repository, you will see that the shared test case is mapped to the requirement:

...

  1. Image Added

Info

Deleting a requirement or test case removes the mapping as well.

...