Udostępnij za pośrednictwem


Metoda TestRun.CountTestCases —

Zwraca liczbę przypadków testów, które są zawarte w tym procesie i we wszystkich badaniach agregacji.

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

Składnia

'Deklaracja
Public Function CountTestCases As Integer
public int CountTestCases()
public:
int CountTestCases()
member CountTestCases : unit -> int 
public function CountTestCases() : int

Wartość zwracana

Typ: System.Int32
Liczba przypadków testów, w tym procesie.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TestRun Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common