Condividi tramite


Metodo ITmi.GetTestResults (TestRun, ITestElement)

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Ottiene una matrice dei risultati del test dell'esecuzione dei test fornita di test fornito.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Sintassi

'Dichiarazione
Function GetTestResults ( _
    run As TestRun, _
    test As ITestElement _
) As TestResult()
TestResult[] GetTestResults(
    TestRun run,
    ITestElement test
)
array<TestResult^>^ GetTestResults(
    TestRun^ run, 
    ITestElement^ test
)
abstract GetTestResults : 
        run:TestRun * 
        test:ITestElement -> TestResult[] 
function GetTestResults(
    run : TestRun, 
    test : ITestElement
) : TestResult[]

Parametri

Valore restituito

Tipo: array<Microsoft.VisualStudio.TestTools.Common.TestResult[]
Una matrice dei risultati del test.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ITmi Interfaccia

Overload GetTestResults

Spazio dei nomi Microsoft.VisualStudio.TestTools.Common

TestRun

TestElement

TestResult