GetCoverageTestsByReqFilter Method
Returns the list of tests that cover the current requirement and, optionally, cover those of its children that match the requirement filter.
Visual Basic
Public Function GetCoverageTestsByReqFilter( _
   ByVal ReqFilter As String, _
   Optional ByVal Recursive As Boolean = False _
) As List
A TDFilter.Text that specifies which descendent requirements to include.

If true, the filter is applied to this requirement and its descendent requirements.

If false, the filter is only applied to this requirement.

Return Type

A list of the Tests that cover the requirements that match the filter.

If no requirements, including this requirement, match the filter, an empty list is returned.


To retrieve the list of all tests that cover this requirement , either set set the filter to an empty string or use GetCoverList.

See Also