RunResultAndStatistics Class
Represents a test result that is used to keep statistics at the test run level.
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
| Name | Description | |
|---|---|---|
![]() | CollectorDataEntries | Gets a read-only list of the entries that are provided by the diagnostic data adapters that are used in the associated test run. |
![]() | DataCollectorMessages | Gets a read-only list of messages that are provided by the diagnostic data adapters that are used in the associated test run. |
![]() | DebugTrace | Gets or sets the debug trace data for the associated test run. |
![]() | ExecutedTestCount | Gets the number of tests that are executed in the associated test run. |
![]() | FailedTestCount | Gets the number of tests that failed in the associated test run. |
![]() | HasPassed | Gets a value that indicates whether all tests in the associated test run have successfully passed. |
![]() | IsPartialRun | Returns a value that indicates whether the associated test run is a partial run. |
![]() | Item[TestOutcome] | Gets the number of tests in the associated test run that had the specified outcome. |
![]() | Outcome | Gets or sets the outcome of the associated test run. |
![]() | OutcomeText | Gets the outcome of the associated test run as localized text. |
![]() | PassedTestCount | Gets the number of tests that passed in the associated test run. |
![]() | ResultFiles | Gets a sorted list of the paths of result files that are generated by the associated test run. |
![]() | ResultsDirectory | Gets the path of the directory where the files that are generated by the associated test run are stored. |
![]() | RunInfoList | Gets an array of RunInfo objects for the associated test run. |
![]() | StdErr | Gets or sets the stderr output stream of the associated test run. |
![]() | StdOut | Gets or sets the stdout output stream of the associated test run. |
![]() | TestRun | Gets the associated test run for this RunResultAndStatistics object. |
![]() | TotalTestCount | Gets or sets the total number of tests in the test run. |
| Name | Description | |
|---|---|---|
![]() | AddRunInfo(String^, Exception^, String^, TestOutcome) | Adds a RunInfo object to the RunInfoList property value. |
![]() | Clone() | Returns a copy of this RunResultAndStatistics object. Read-only. |
![]() | CopyTo(TestRun^) | Copies a clone of this object to the TestRun::Result of the provided test run. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsValid() | Returns a value that indicates whether this RunResultAndStatistics object is valid. |
![]() | Load(XmlElement^, XmlTestStoreParameters^) | Loads the object from the provided XML element by using the provided parameters. |
![]() | Save(XmlElement^, XmlTestStoreParameters^) | Saves the current object to the specified XML element by using the provided parameters. |
![]() | ToString() | Returns a string version of this RunResultAndStatistics object.(Overrides Object::ToString().) |
This class cannot be inherited, but it is available to custom extensions, such as diagnostic data adapters, through the TestRun::Result property. The object is instantiated by a test run and values are set by the test framework.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

