ITestRunStatistics Interface

Represents the counts of several aspects of test results for a test run.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)


Public Interface ITestRunStatistics _
    Inherits INotifyPropertyChanged
public interface ITestRunStatistics : INotifyPropertyChanged
public interface class ITestRunStatistics : INotifyPropertyChanged
type ITestRunStatistics =  
        interface INotifyPropertyChanged 
public interface ITestRunStatistics extends INotifyPropertyChanged

The ITestRunStatistics type exposes the following members.


  Name Description
Public property CompletedTests Gets the number of completed tests in the test run.
Public property FailedTests Gets the number of tests that have failed.
Public property InconclusiveTests Gets the number of tests that have inconclusive results.
Public property InProgressTests Gets the number of tests in progress.
Public property Item[TestOutcome] Gets the number of tests that have the specified outcome.
Public property Item[TestResultState] Gets the number of tests that have the specified result state.
Public property PassedTests Gets the number of tests that have passed.
Public property PendingTests Gets the number of pending tests.
Public property TestResolutionStatistics Gets the list of test resolution state statistic objects.
Public property TotalTests Gets the total number of tests in the test run.



  Name Description
Public method GetStatistics Returns an array of test run statistic objects.
Public method Refresh Refreshes the statistics from the server.



  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)



This interface supports the object model for Test Case management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class if a TCM object returns an internal implementation.

See Also


Microsoft.TeamFoundation.TestManagement.Client Namespace