Generating test cases for requirements in requirement collections in the Requirement Management application

After you have associated requirement collections with test plans, you can generate test cases for the requirements in the collections. This ensures that you have thorough testing coverage and traceability for each requirement.

About this task

Before you can generate test cases for requirements in requirement collections, you must associate requirement collections to test plans.

Procedure

  1. Open the test plan with which you associated the requirements collection, and go to the Requirement Collection Links section.
  2. Select the check box next to the requirement collection for which to generate test cases.
  3. Click the Reconcile Requirements in Collections icon (Reconcile Requirements in Collections). The Reconcile Requirements wizard opens. All requirements that the requirement collection contains and do not have test coverage in the current test plan are displayed.
  4. 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.
  5. Click Finish, and then save the test plan.
  6. In the table of contents, click Test Cases. In the Test Cases section of the test plan, all the test cases that were created for the Requirements Management requirements collection are displayed.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki