Anchor | ||||
---|---|---|---|---|
|
Global Test Repository Overview
The global test repository feature allows your Zephyr instance to have a centralized location to house all test cases. This provides users the ability to create template/default test cases within the global repository which can then be reused within individual projects and releases.
Users are able to essentially copy the test case from the global test repository and place the copy of the test case to either the project test case repository or the release test case repository. Reusing test cases from the global test repository is easily completed by utilizing the simplicity of Zephyr's drag-and-drop feature.
Best Practices
The global test repository can provide users with a centralized test case folder structure allowing users the ability to reuse test cases that are located in the global test repository across all projects.
For example: The test manager can go into the global repository and set up some default test cases which can then be used as templates across all testing projects. This is beneficial to be able to allow users with the option to reuse the default test cases which saves a significant amount of time while testing.
Test leads and testers that are working on individual projects can use these centralized test cases to their advantage to essentially reduce the time spent on writing out a similar test case. Your test leads and testers will want to copy or share the test cases that are created from the global test repository to their individual projects.
- If your test lead or testers create a test case in their individual project and want to have a copy of it in the global test repository that can be used across other projects, they must have the test manager copy it from the specific project to the global test repository.
When testers need copy or share test cases from the global test repository to their project, it can be done with the simple mouse movement of dragging-and-dropping the desired test cases from the global test repository and allocating them directly to the release or project test case repository.
Info | ||
---|---|---|
| ||
|
Global Test Repository Configuration
The global test repository provides users the ability to determine which project(s) the global repository can utilize to share, copy, and move ownership of test cases from and to the global repository.
Copy Test Cases from the Global Test Repository
1. Click on the button on the folder where you want to reuse test cases that are from the global test repository.:
2. Click on "Copy from Project Releases".
A pop-up will display either the release or projectCopy Testcases:
A dialog will open with your local test repository on the left
side of the interfaceand the global test repository for
the systemon the right
side of the interface.3. Navigated through the global test repository and select which test cases that you want to copy over.
4. Simply drag and drop the selected test cases to the destination folder in the release/project :
3. In the pane on the right, navigated through the test repository and select the test case you want to copy.
4. Drag and drop the test case to the destination folder in your local test repository.
Info | ||
---|---|---|
| ||
There are two ways to copy test cases from the global test repository.
The copied test cases are given new ID'sIDs.
|
In the Copy Testcases dialog, you can also search for test cases you want to copy. To do that, switch to the Search tab, specify the project and release you want to copy test cases from, enter a ZQL query, and click Go:
Share Test Cases from the Global Test Repository
1. Click on the button on the folder where you want to reuse test cases that are from the global test repository.:
2. Click on "Share from Project Releases".
A pop-up will display either the release or projectShare Testcases:
A dialog will open with your local test repository on the left
side of the interfaceand the global test repository for
the systemon the right
side of the interface.:
3. Navigated through the global test repository and select which the test cases that case you want to share overbe shared.
4. Simply drag Drag and drop the selected test cases case to the destination folder in the your local test repository.
Info | ||
---|---|---|
| ||
There are two ways to share test cases from the global test repository.
The IDs for of the shared test cases will remain the same. Users are will be able to distinguish shared test cases from the other test cases in the project/release test repository by the italicized test case name. |
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: