Skip to main content

Requirements Traceability Matrix

Get real time updates on status of requirements and their coverage in a TestCollab project

TestCollab presents the tabular representation of the relation between requirements and test cases linked with them as traceability matrix depicting:

  • Total number of requirements

  • Requirements covered (have test cases linked with them)

  • Uncovered requirements (having no test case associated)

  • Linked test cases count

Generating Requirements Traceability Matrix

Let us get started, option to get the requirements traceability matrix generated is under Reports menu for project.

Requirements Traceability Matrix in TestCollab

Based on the configuration done for requirements the list would be fetched from the source. That means if you have opted to integrate with an external tool like Jira to be the source of requirements then based on issue types selected while configuring requirements settings for project, the list of all matching issues will be populated as requirements on the matrix.

If the requirements are being maintained internally (within TestCollab) then all the requirements added so far will be listed.

Filtering by Build

When Builds are enabled in your project, the requirements traceability matrix includes a Build filter dropdown at the top.

What It Does

Selecting a build shows requirement coverage only for that software version. This answers: "Did we test all requirements against Release 2.14.1?"

Without a build filter: Shows the latest status of each requirement (global view) With a build filter: Shows status based only on test executions against that build

Using the Filter

  1. Click the Build dropdown at the top of the page

  2. Select a build to filter by that version

  3. Click the X or leave blank to return to the global view

A blue "Coverage as of v2.14.1" chip appears when a build is selected.

See Filtering the Traceability Matrix by Build for detailed guidance and export instructions.

Exporting the Matrix

Once generated, the Requirements Traceability Matrix can be exported as a CSV file. You can export all requirements or only those that are covered.

Requirements Traceability Matrix in TestCollab

Build-Scoped Export

When a build is selected in the Build filter, the exported CSV includes:

  • An extra Build column showing which build the coverage is scoped to

  • A build-stamped filename, e.g., rtm-export-v2.14.1.csv

This provides an auditable artifact for compliance and release readiness reports.

There is also an option to filter the requirements using custom query.

Using custom queries to filter requirements

Based on the source of requirements you can use the custom queries to filter the list of requirements to have matrix generated for specific issues/stories.

Jira

In case of Jira, you can use a valid JQL that you otherwise would use in Jira to filter issues.

Requirements Traceability Matrix in TestCollab

An example would be :

assignee = "3692015:d1cf850c-1953-201b-bdcd-654987123d81" AND status = "To Verify" 

Other Tools

In all other cases the requirements can be searched on the basis of their titles.

Whether a custom query is used or not you would get the time when the data on this report was last updated.

At any point the filters can be reset to show up all the requirements again, and there is a "Reset" button specifically for this purpose.

Getting more details on requirements and linked test cases

All the requirements and test cases listed in matrix are linked to their respective sources. So simply clicking on the requirement id or test case id would take you to its details.

Getting details on requirements from a traceability matrix in TestCollab

Getting details on test cases from a traceability matrix in TestCollab

TestCollab as on date of writing this article offers integration with following external tools as source of requirements:

In addition to these you can also use Inbuilt Requirements Manager to add and manage requirements within TestCollab itself.

Did this answer your question?