Test Plans
Within
Rally
, you can use test plans to organize and manage test cases. You can represent a test plan with a test folder. When you plan your test effort, use test plans (test folders) to assemble your test cases in a hierarchy of folders, and to view the summarized results of all the tests in a group.When viewing test plans, you can scope your view to a particular project or projects (teams). Your ability to view and edit test plans is dependent upon the user permissions you have been assigned. Test plans are represented by test folders.
You can work with test plans on the Test Plans page or the Quality Management page.
Rally
recommends using the Quality Management page when working with test folders (test plans). Learn more.The Test Plans page displays in a list view that you can customize. Learn more.
This section includes the following topics:
Creating Test Folders
Use test folders to organize and group your tests into functional areas. You can create a hierarchy of folders (parent-child) or keep a flat structure of folders.
Create a Test Folder
You can quickly create a work item by using the toolbar. Within most list and board views, select
Add New
, complete the suggested fields, and then select Create
. Some suggested fields have default values if the field is required. You can edit the work item to add details at a later date.
You can use this method to add multiple items in succession such as multiple peer or child work items for a selected work item.
If your workspace administrator has made some work item fields required, this feature is not available.
Follow these steps:
- SelectQuality, Test Plan.
- SelectAdd Newfrom the toolbar.
- SelectCreate with detailsto view the item in the detail editor and complete any necessary fields.Required fields are marked with an asterisk (*).
- SelectCreate.
Assign a Parent Test Folder
You can associate a test plan to an existing test folder.
Follow these steps:
- SelectQuality, Test Plan.
- Select the FormattedID of the work item.
- In the detail editor, select the+icon in the Parent field.
- Within theChoosedialog box, select a test folder to use as a parent.
- SelectSave.
Create Child Test Folders
You can create child test folders directly from the Test Plan page.
You can quickly create a work item by using the toolbar. Within most list and board views, select
Add New
, complete the suggested fields, and then select Create
. Some suggested fields have default values if the field is required. You can edit the work item to add details at a later date.
You can use this method to add multiple items in succession such as multiple peer or child work items for a selected work item.
If your workspace administrator has made some work item fields required, this feature is not available.
Follow these steps:
- SelectQuality, Test Plan.
- Select the check box of a work item. The work item you select determines the parent of the work item you will add as a child.
- SelectAdd Child
from the toolbar.
- SelectTest Folderfrom theWork Item Typesdrop-down list.
- Use theProjectsfield to select a project if you want to associate the work item with a different project than the one currently in scope.TheProjectsfield defaults to the current project.
- SelectCreate with detailsto view the item in the detail editor and complete any necessary fields.Required fields are marked with an asterisk (*).
- SelectCreate.
Edit a Test Folder
You can edit test folders.
Within most pages, you can inline edit displayed fields. Select the field and type your changes. Your changes are saved when you navigate away from the field.
Follow these steps:
- SelectQuality, Test Plan.
- Select the FormattedID of the work item.
- Within the detail editor, make any changes.
- SelectSave.
Delete Test Folders
If you delete a test folder that has child test folders, the child test folders are not deleted. The Parent field of the child folder is cleared and child folders display on the Test Plan page unless you delete them as well.
Follow these steps:
- SelectQuality, Test Plan.
- Select the check box of the work item(s).
- SelectDelete
from the toolbar.
The work item is moved to the Recycle Bin.
Adding Test Cases to Test Folders
You can associate new or add existing test cases to test folders. You can do this while editing the test folder or when you edit the test case.
Test cases can only be added to a single test folder.
Associate a New Test Case with a Test Folder
When editing a test folder, you can create a new test case to associate with the folder.
Follow these steps:
- SelectQuality, Test Plan.
- Select the FormattedID of the work item.
- Select theTest Cases
icon to open the Test Cases page.
- SelectAdd Newto associate a new test case with this folder.
- SelectCreate with detailsto view the item in the detail editor and complete any necessary fields.Required fields are marked with an asterisk (*).
- SelectCreate.
Associate an Existing Test Case with a Test Folder
When editing a test folder, you can link an existing test case to the folder.
Follow these steps:
- SelectQuality, Test Plan.
- Select the FormattedID of the work item.
- Select theTest Cases
icon to open the Test Cases page.
- SelectLink Existingto select an existing test case to associate.
- Within theChoosedialog box, choose filters from the drop-down list(s) and use the search field to help locate the work item(s) you want to associate.
- Select the work item(s) you want to associate and selectDone.
Associate a Test Case with a Folder By Editing the Test Case
When editing a test case, you can associate it with an existing test folder or change the folder with which it is associated.
Follow these steps:
- SelectQuality, Test Cases.
- Select the FormattedID of the work item.
- Select the+icon in theTest Folderfield.
- Within theChoosedialog box, select the test folder you want to associate.
- SelectSave.
Rank Test Cases in a Test Folder
You can rank test cases within a test folder depending on the ranking method your administrator has configured for your workspace.
Drag-and-Drop Ranking
Rank test cases on the Test Plan page in an executable order by using drag-and-drop. To change the order of a test case in a folder, select the test case and drag it to the correct placement.
Manual Ranking
If your workspace is set to use manual ranking, you can change the order or priority of a test case on the Test Plan page by double-clicking on the case and entering a rank value.
Remove a Test Case from a Test Folder
You can remove a test case from a test folder.
Follow these steps:
- SelectQuality, Test Cases.
- Select the FormattedID of the work item.
- Within the detail editor, scroll to theTest Folderfield, select the Gear
icon and then select
Clear. - SelectSave.
View the Status of Test Cases in a Test Folder
When you view a test folder, you can view the status of test cases included in that folder.
Follow these steps:
- SelectQuality, Test Plan.
- Select the FormattedID of the work item.
- Within the detail editor of the test folder, hover your cursor over the Test Folder Status bar for the test cases that are associated with the folder.
