询问服务器以查找与特定查询的所有测试运行。对于包括统计信息提供一个选项。
命名空间: Microsoft.TeamFoundation.TestManagement.Client
程序集: Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
IEnumerable<ITestRun> Query(
string queryText,
bool includeStats
)
IEnumerable<ITestRun^>^ Query(
String^ queryText,
bool includeStats
)
abstract Query :
queryText:string *
includeStats:bool -> IEnumerable<ITestRun>
Function Query (
queryText As String,
includeStats As Boolean
) As IEnumerable(Of ITestRun)
参数
- queryText
执行 WIQL 查询
- includeStats
包含统计信息与测试运行。
返回值
Type: System.Collections.Generic.IEnumerable<ITestRun>
测试运行列表。
请参阅
Query 重载
ITestRunHelper 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间
返回页首