Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RunResultAndStatistics Class

 

Represents a test result that is used to keep statistics at the test run level.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

System::Object
  Microsoft.VisualStudio.TestTools.Common::RunResultAndStatistics

[SerializableAttribute]
public ref class RunResultAndStatistics sealed : ICloneable, 
	IVerifiable, IXmlTestStore

NameDescription
System_CAPS_pubpropertyCollectorDataEntries

Gets a read-only list of the entries that are provided by the diagnostic data adapters that are used in the associated test run.

System_CAPS_pubpropertyDataCollectorMessages

Gets a read-only list of messages that are provided by the diagnostic data adapters that are used in the associated test run.

System_CAPS_pubpropertyDebugTrace

Gets or sets the debug trace data for the associated test run.

System_CAPS_pubpropertyExecutedTestCount

Gets the number of tests that are executed in the associated test run.

System_CAPS_pubpropertyFailedTestCount

Gets the number of tests that failed in the associated test run.

System_CAPS_pubpropertyHasPassed

Gets a value that indicates whether all tests in the associated test run have successfully passed.

System_CAPS_pubpropertyIsPartialRun

Returns a value that indicates whether the associated test run is a partial run.

System_CAPS_pubpropertyItem[TestOutcome]

Gets the number of tests in the associated test run that had the specified outcome.

System_CAPS_pubpropertyOutcome

Gets or sets the outcome of the associated test run.

System_CAPS_pubpropertyOutcomeText

Gets the outcome of the associated test run as localized text.

System_CAPS_pubpropertyPassedTestCount

Gets the number of tests that passed in the associated test run.

System_CAPS_pubpropertyResultFiles

Gets a sorted list of the paths of result files that are generated by the associated test run.

System_CAPS_pubpropertyResultsDirectory

Gets the path of the directory where the files that are generated by the associated test run are stored.

System_CAPS_pubpropertyRunInfoList

Gets an array of RunInfo objects for the associated test run.

System_CAPS_pubpropertyStdErr

Gets or sets the stderr output stream of the associated test run.

System_CAPS_pubpropertyStdOut

Gets or sets the stdout output stream of the associated test run.

System_CAPS_pubpropertyTestRun

Gets the associated test run for this RunResultAndStatistics object.

System_CAPS_pubpropertyTotalTestCount

Gets or sets the total number of tests in the test run.

NameDescription
System_CAPS_pubmethodAddRunInfo(String^, Exception^, String^, TestOutcome)

Adds a RunInfo object to the RunInfoList property value.

System_CAPS_pubmethodClone()

Returns a copy of this RunResultAndStatistics object. Read-only.

System_CAPS_pubmethodCopyTo(TestRun^)

Copies a clone of this object to the TestRun::Result of the provided test run.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsValid()

Returns a value that indicates whether this RunResultAndStatistics object is valid.

System_CAPS_pubmethodLoad(XmlElement^, XmlTestStoreParameters^)

Loads the object from the provided XML element by using the provided parameters.

System_CAPS_pubmethodSave(XmlElement^, XmlTestStoreParameters^)

Saves the current object to the specified XML element by using the provided parameters.

System_CAPS_pubmethodToString()

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.

Return to top
Show: