AddCoverage Method
Description
Assigns a test to cover this requirement.
Syntax
Visual Basic
Public Function AddCoverage( _
   ByVal TestId As Long, _
   ByVal Order As Long _
) As Long
Parameters
TestId
The ID of the test assigned to the requirement.
Order

The position of the test in the requirement coverage list. Possible values are:

  • A number representing the position.
  • TDPOSITION_LAST [-4] - Indicates that the test is inserted last
Return Type
Zero on success, or -1 on error.
Remarks
The actual position of the test in the requirement coverage list.
See Also