12.10 Associate Project Requirements with Source Files

You can implement requirements tracing with hyperlinks, which associate pairs of VOB objects. The association should be at the version level (rather than the branch or element level): each version of a source code module must be associated with a particular version of a related design document.

For example, the project manager creates a hyperlink type named DesignDoc, which is used to associate source code with design documents:

cleartool mkhltype -c "associate code with design docs" ^
DesignDoc@\dev DesignDoc@\design

Created hyperlink type "DesignDoc".
Created hyperlink type "DesignDoc".

The hyperlink inheritance feature makes the implementation of requirements tracing easy:

Figure 43 illustrates the hyperlinks that connect the source file to the design doc.

Figure 43 Requirements Tracing