Reconciling test plan requirement collections with requirements in Rational RequisitePro requirement views and packages

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

  1. 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.
  2. Click the Reconcile Requirements in Collections icon Reconcile Requirements in Collections and Reconcile Requirement 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.
  3. In the Pending Actions section, the Reconcile Test Coverage action is displayed. To add test coverage for new requirements, complete the following steps:
    1. Select the check box next to one or more requirements; then in the action column, click the Expand/Collapse icon (Expand/Collapse). The Action menu opens.
    2. 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.
    3. 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.
  4. 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.
    1. In the Pending Actions section, select Reconcile Unplanned Items or Reconcile Deleted Items.
    2. 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 Ignore.
      • To accept changes, click the Mark Suspect icon Mark Suspect.
    The operation is added to the Action column for the selected items.
  5. Optional: Change the suspect status of test cases that are linked to modified requirements.
    1. In the Pending Actions section, select Reconcile Updated Items.
    2. 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 Ignore.
      • To accept changes, click the Mark Suspect icon Mark Suspect.
      • To clear suspicion from the test cases, click the Clear Suspicion icon.
    The operation is added to the Action column of the selected requirements.
  6. 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.
  7. Click Finish. Actions that you specified in the wizard are implemented.
  8. If you chose to create a new quality task for modified test cases, a window opens prompting you to create the quality tasks.
    1. Click the Create New Quality Task button.
    2. Select the task type.
    3. In the Summary field, enter a brief headline that identifies the work item.
    4. In the Filed Against field, select a category that identifies the component or functional area that the quality task belongs to.
    5. Assign an owner to the task.
    6. Set a due date for the task to be completed.
    7. 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.
  9. Click Save.
  10. Optional: To view changes to requirements associated with the test plan, complete the following steps:
    1. Above the table of contents, click Manage Sections, and add the Requirements section to the test plan.
    2. In the table of contents, click Requirements.
    3. Click RequisitePro. The requirements from the views and packages that you associated with the test plan are displayed.
  11. 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 (Suspect).


Have a problem or a question? Post it in the Jazz.net forum.