After you have associated a test plan with requirement
views and packages in
IBM® Rational® RequisitePro®,
you can associate the requirements that the views and packages contain
to test cases. You can also reconcile the versions of the requirements
in the test plans with the versions in the
Rational RequisitePro views
and packages. During this process you can generate test cases for
new requirements.
Procedure
- In the Quality Management application, open the test plan
with which you associated the Rational RequisitePro views
and packages, and go to the Requirement Collection Links section.
- Click the Reconcile Requirements in Collections icon
. The Reconcile Requirements wizard opens and displays
the requirements that were updated in the collection since the last
reconciliation. If there are new requirements in the collection, requirements
that do not have test coverage in the current test plan are displayed.
- In the Pending Actions section, the Reconcile
Test Coverage action is displayed. To add test coverage
for new requirements, complete the following steps:
- Select the check box next to one or more requirements;
then in the action column, click the Expand/Collapse icon
(
). The Action menu
opens.
- In the Action menu, do one of the following:
- If the selected requirements already have been linked to existing
test cases, to add the test cases to the current test plan, click Add
Test Case to Test Plan.
- To generate new test cases for each selected requirement, from
the Action menu, click Generate [n] Test Cases,
where n is the number of test cases to generate;
then complete the fields in the New Test Case window and click OK.
- To generate a single new test case for all selected requirements,
from the Action menu, click Generate Test Case;
then complete the fields in the New Test Case window and click OK.
- Click Next.
If there are additional pending actions, the Reconcile
Requirements window displays the actions and the list of
requirements associated with each action: Reconcile Removed Items,
Reconcile Deleted Items, and Reconcile Updated Items.
- Optional: Reconcile requirements that
were removed from collections or deleted from the project since the
last reconciliation. Those requirements that have been
moved out of the associated requirement collections or those requirements
do not belong to any requirement collections, but are associated to
the test cases in the current test plan, are listed for the Reconcile
Unplanned Items action.
- In the Pending Actions section, select Reconcile
Unplanned Items or Reconcile Deleted Items.
- Select the check box next to one or more requirements
to reconcile unplanned or removed items, then do one of the following:
- To ignore the changes for this operation, click the Ignore icon
.
- To accept changes, click the Mark Suspect icon
.
The operation is added to the Action column for the selected
items.
- Optional: Change the suspect status
of test cases that are linked to modified requirements.
- In the Pending Actions section, select Reconcile
Updated Items.
- Select the check box next to one or more requirements
to reconcile modified items, then do one of the following:
- To ignore the changes for this operation, click the Ignore icon
.
- To accept changes, click the Mark Suspect icon
.
- To clear suspicion from the test cases, click the Clear Suspicion icon.
The operation is added to the Action column of the selected
requirements.
- For any modified requirements,
to update the associated test case, select Create New Quality
Task. You will be prompted to create a quality
task for each test case that is associated with the selected requirements
when you click Finish.
Note: You can create
a new quality task only for the requirements for which you chose to
apply Mark Suspect. The Create a
new Quality Task option is disabled when Clear
Suspicion or Ignore is applied.
- Click Finish. Actions that you specified in the wizard are implemented.
- If you chose to create a new quality
task for modified test cases, a window opens prompting you to create
the quality tasks.
- Click the Create New Quality Task button.
- Select the task type.
- In the Summary field, enter a
brief headline that identifies the work item.
- In the Filed Against field, select
a category that identifies the component or functional area that the
quality task belongs to.
- Assign an owner to the task.
- Set a due date for the task to be completed.
- Enter a description of the quality task and click OK.
A quality task is created in the Change and Configuration
Management application. The task appears in the My Tasks widget of
the personal dashboard for the owner that you assigned the quality
task to. The Links section of the quality task shows a related test
case link for the test case associated with this task.
- Click Save.
- Optional: To view changes to requirements associated
with the test plan, complete the following steps:
- Above the table of contents, click Manage
Sections, and add the Requirements section to the test
plan.
- In the table of contents, click Requirements.
- Click RequisitePro. The requirements from the views and packages that you
associated with the test plan are displayed.
- Optional: To view changes to test cases in
the test plan, in the table of contents, click Test Cases.
In the Test Cases section of the test plan, scroll to the end of the
section. All the test cases that were created for
the Rational RequisitePro requirements
are displayed. The existing test cases whose suspect status you changed
are displayed with the Suspect icon (
).