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: System.Int32
The number of test cases in this run.

.NET Framework Security

See Also

Reference

TestRun Class

Microsoft.VisualStudio.TestTools.Common Namespace