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
- Open the test plan with which you associated the requirements
collection, and go to the Requirement Collection Links section.
- Select the check box next to the requirement collection
for which to generate test cases.
- Click the Reconcile Requirements in Collections icon
(
). 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.
- 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.
- Click Finish, and then save the
test plan.
- 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.