Método ITestRunHelper.Query (String, Boolean)
Consulta o servidor para localizar todos os ensaios que correspondem a consulta fornecida.Também fornece uma opção para incluir estatísticas.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintaxe
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)
Parâmetros
- queryText
Consulta de WIQL a executar.
- includeStats
Inclua as estatísticas associadas com o ensaio.
Valor de retorno
Type: System.Collections.Generic.IEnumerable<ITestRun>
Lista de ensaios.
Consulte também
Query Sobrecarga
Interface ITestRunHelper
Namespace Microsoft.TeamFoundation.TestManagement.Client
Retornar ao topo