TestRun.CountTestCases 方法

返回此运行和所有聚合测试中包含的测试用例的数量。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
Public Function CountTestCases As Integer
public int CountTestCases()
public:
int CountTestCases()
member CountTestCases : unit -> int 
public function CountTestCases() : int

返回值

类型:System.Int32
此运行中的测试用例数。

.NET Framework 安全性

请参见

参考

TestRun 类

Microsoft.VisualStudio.TestTools.Common 命名空间