Udostępnij za pośrednictwem


Metoda ITmi.GetTests —

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Zwraca wszystkie testy, które są ładowane w interfejsie użytkownika z Visual Studio Test Professional.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Function GetTests As ITestElement()
ITestElement[] GetTests()
array<ITestElement^>^ GetTests()
abstract GetTests : unit -> ITestElement[] 
function GetTests() : ITestElement[]

Wartość zwracana

Typ: array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
Tablica elementów badania.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITmi Interfejs

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestElement