TestRun.CountTestCases Method
Returns the number of test cases that are contained in this run and in all aggregation tests.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Function CountTestCases As Integer
public int CountTestCases()
public:
int CountTestCases()
member CountTestCases : unit -> int
public function CountTestCases() : int
Return Value
Type: Int32
The number of test cases in this run.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.