Test Plan Coverage of Requirements
Value of this report
When looking at a test plan, one of the important aspects is to understand what requirements are being verified. When you are a test lead and looking to see what test cases are linked to various requirements, you can get a feel for where the test plan is focused and where there may be duplication of coverage across its test cases. In addition, you can see which test cases have not yet been linked to the requirements they cover and can prompt the test case designer to add the missing links.
Let's now see how the report can be built with the JRS Report Builder. In this instance, I am using the version 6.0.1 M2. I believe all the functionality is available in the 6.0 GA version although the workflow has been adjusted to select the project areas before selecting the primary artifact type.
Test plan with linked test cases with verified requirements
Go into Report Builder and choose to build a new report. As a new feature in 6.0.1 M2, you can choose either a current data or historical trend data report. Choose the current data report and click Continue.
Select the Quality Management project area and associated Requirements Management project areas where the linked requirements are kept. Click Continue when you have selected the correct projects.
Select Test Plan as your primary artifact for your report then click Continue.
Pick the relationship to Test Case as the All Related link type and click OK
Pick the relationship from Test Case as Requirements – Validates link type and click OK
Now that you have the traceability links set up, you need to go back and set the Test Plan to Test Case link to Required instead of optional. Click Continue to move on.
Click Add Condition to limit the report to a certain test plan (or plans). In the Attributes of drop list, select Test Plan and then the Name attribute. Then in the right hand scrolling list, you select the test plan or plans by name. Then click Add and Close to move on.
Now that you have set the conditions and check the condition listed, click Continue to move on.
In selecting the columns for the report, we don't need the test plan's project name since the test plans are all from a single project area. Therefore we use the delete function to remove this column from the report.
However we want to add the requirement type so we know what types of requirements we are linking to in this test plan. Click the Add attribute columns button. Select Requirement in the Attributes of drop list and select the Type attribute. Click the Add button to move on.
Review the listed report columns and edit the column heading for Type to be Requirement Type for clarity and then click Continue to go on.
Now that the report is done, you need to give it a name, a tag for its public category and selecting Public (publish to catalog). Click Save to complete this and Continue to move on.
At this point, the report runs and displays the data for your test plan coverage report.