ReqView 2.3.0 Beta 3 — Template Columns

  Libor Buš releases share

We have released the 3rd beta of ReqView v2.3.0 that introduces custom template columns. With this feature you can flexibly extend the table view by additional information, such as a calculated value or list of linked objects.

We have been asked by several customers how the table view can be extended by columns displaying additional information, such as

  • Calculated Columns — calculating an expression such as risk priority number (RPN), and
  • Custom Traceability Columns — listing linked objects across multiple traceability levels.

With the current stable release 2.2.x you can display this additional information by creating a Custom Export Template and exporting a static HTML report.

The new Template Column feature goes one step further -- you can add a column displaying live dynamic content directly in the application UI! We will explain how to use this new exciting feature on the Example Project.

Template Column

Let’s create a new template column called Section which displays the number of each SRS document section or the number of the parent section for each SRS leaf object:

  1. Switch to SRS document and choose Document > Template Column menu to open Template Column dialog. In this dialog you can enter the new column label, which will be displayed in the table header, and the column template text:
    Template Column dialog
  2. Press Check button to preview template output for the current document object.
  3. Press OK button and check the content of the new column called Section:
    Template column displaying requirement section number
  4. You can edit or delete an existing template column using the context menu opened by right click on the column heading:
    Template column context menu

Calculated Columns

Now, let’s create a template column which calculates the risk priority number as a product of severity, probability and determinability attributes for each Risk or Action object in RISKS document:

  1. Switch to RISKS document and create a new template column called RPN with the following template text:

    {{#if (eval (eval type "==" "Risk") "||" (eval type "==" "Action"))}}
    {{eval (eval detectability "*" probability) "*" severity}}
    {{/if}}
  2. Check the output of the new RPN column which calculates the value of risk priority number after each change of SEV, PROB and DET columns:

    Template column calculating the Risk Priority Number (RPN)

Custom Traceability Columns

As the last example, let’s create a template column which displays downstream traceability coverage of each top level user story in NEEDS document by linked SRS requirements and their TESTS:

  1. Switch to NEEDS document and create a new template column called Downstream Traceability with the following template text:

    {{#ifEqual type "User Story"}}
    {{#ifHasInlinks "satisfaction"}}
    <ul>
    {{#eachInlinkWith type="satisfaction"}}
    <li>
    {{docObjId}}: {{shortDescription maxLength=40}}
    <ul>
    {{#ifHasInlinks "verification"}}
    {{#eachInlinkWith type="verification"}}
    <li>{{docObjId}}: {{shortDescription maxLength=40}}</li>
    {{/eachInlinkWith}}
    {{else}}
    <li>Missing verification links!</li>
    {{/ifHasInlinks}}
    </ul>
    </li>
    {{/eachInlinkWith}}
    </ul>
    {{else}}
    <ul>
    <li>Missing satisfaction links!</li>
    </ul>
    {{/ifHasInlinks}}
    {{/ifEqual}}
  2. Check the output of the new Downstream Traceability column displaying multilevel traceability coverage with warnings if a link is missing:

Template Column Displaying Downstream Traceability Coverage