This topic explains how to import and review data from a requirements management system in your IDE.

Sections include:

Overview

C/C++test allows you to import information about requirements and test definitions specified in a requirements management system (RMS) to your IDE. When the data is imported, C/C++test can visualize correlations between requirements and test definitions in the the Requirements view. This allows you to review the data from the RMS in you IDE and create unit tests to cover the requirements without leaving your IDE.

The import process consists of two main steps:

  1. Exporting the requirements form the requirements management system in the ReqIF format.
  2. Importing the data from the ReqIF file into your IDE.

The ReqIF file you export from your RMS must contain all the information critical to identifying and making correlations between requirements and test definitions, including identifiers, names, and descriptions of requirements and test definitions, as well as information on how they are related (which test definitions verify a given requirement).

Supported Requirements Management Systems

  • CodeBeamer
  • Polarion

Importing Data from a ReqIF File

  1. Go to Parasoft> Show View> Requirements in the IDE menu to open the Requirements view.
  2. Click the Import Requirements button in the Requirements view menu to open the import dialog:
  3. Provide the following information in the import dialog:
    - The path to the ReqIF file exported from a requirements management system.
    - Specification you want to import from the file.
  4. Click OK. C/C++test will will display the imported data in the Requirements view.

Reviewing Requirements

C/C++test displays imported requirements in the Requirements view arranged as nodes in a tree. Each requirement is matched with the corresponding test definition(s) (if available).

You can double-click a requirement or test definition to open its summary1. The summary contains the ID, name, and description of the requirement or test definition. Alternatively, you can right-click a node in the Requirements tree and choose Show details from the menu to open the summary.

1 You may be prompted to open the summary in an external browser.

You can right-click a test definition and choose Copy ID to copy its ID to clipboard. This helps you easily associate test definitions with C/C++test test cases by pasting the ID in your code.

  • No labels