Requirement IDs (Unit Test Framework Toolkit)

Requirement IDs define the traceability relationships between requirements and code. You can integrate the LabVIEW Unit Test Framework Toolkit with NI Requirements Gateway. Requirements Gateway is an application that provides a requirements traceability solution. This application links development and verification documents with formal requirements stored in documents and databases.

When you configure tests and edit test vectors, you can specify requirement IDs for each test and test vector that you want to track with Requirements Gateway. LabVIEW includes the requirement IDs in ATML reports so that you can track tests and test results in Requirements Gateway. If LabVIEW executes a test and the test is passed, LabVIEW reports that the test covers the corresponding requirement. If LabVIEW uses a test vector in a test, LabVIEW reports that the test vector covers the corresponding requirement.

After you execute the tests, Requirements Gateway calculates a coverage ratio for all requirements by using the requirement IDs and other information in the test report. Refer to the NI Requirements Gateway documentation for the detailed calculating method.

You can specify requirement IDs interactively by using the Configuration page of the Test Properties dialog box. You also can specify requirement IDs by editing .lvtest files.