You can
generate test cases automatically from a requirement
collection in IBM® Rational® Requirements Composer.
Before you begin
C/ALM
integration must be configured before you can perform
this task. In addition, you need a test plan that already links to
a requirement collection.
About this task
To generate test cases
from a requirement collection:
Procedure
- Open a test
plan.
- Add a Requirement Collection Links section
to the test
plan.
- In the test plan, click Manage
Sections.
- Click Show
all sections.
- Select Requirement
Collection Links and
move the section to the Selected Sections column.
- Click OK.
- From the test plan Table of Contents,
click Requirement
Collection Links.
- Select a Requirement
Collection from the list.
- Click the Create
Test Case(s) from Requirements icon
(
).
- From the test plan Table of Contents, click Test
Cases.
- Verify that the newly created
test cases are displayed
in the table.
- Click to open one of the newly-created
test cases.
- If necessary, add a Requirement
Links section to the test
case.
- In the test case, click Manage
Sections.
- Click Show
all sections.
- Select Requirement
Links and
move the section to the Selected Sections column.
- Click OK.
Note: You can also set the default test case template
to Collaborative
ALM Test Case Template. Then, all new test cases will
include a Requirement Links section automatically.
- From the test case Table of Contents, click Requirement
Links.
- Verify that the requirement
links display.
- Click the link to open the requirement
in Rational Requirements Composer.
- Verify that the requirement in Rational Requirements Composer includes
a link back to the test case.