UnitTestResult Members

The UnitTestResult type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Creates a string representation of a unit test result.
(Overrides TestResult..::..ToString()()()().)

Properties

  NameDescription
Public propertyExceptions
Gets a read-only list of exceptions caught during the test.
(Inherited from TestResult.)
Public propertyExecutable
Gets a package element that was tested.
(Inherited from TestResult.)
Public propertyFinishedAt
Gets a time when the test is finished.
(Inherited from TestResult.)
Public propertyIsSetupSuccess
Gets a value indicating whether the setup phase of a test has executed successfully.
Public propertyIsTeardownSuccess
Gets a value indicating whether the cleanup phase of a test has executed successfully.
Public propertyIsVerificationSuccess
Gets a value indicating whether the verification phase of a test has executed successfully.
Public propertyPackage
Gets a package that was tested.
(Inherited from TestResult.)
Public propertyRepositoryName
Gets a repository name that contains the target package.
(Inherited from TestResult.)
Public propertyStartedAt
Gets a time when the test is started.
(Inherited from TestResult.)
Public propertyTestDescription
Gets the description of the unit test.
(Inherited from TestResult.)
Public propertyTestId
Gets the id of the corresponding test.
(Inherited from TestResult.)
Public propertyTestName
Gets the name of a class which implements the test.
(Inherited from TestResult.)
Public propertyTestOutcome
Gets a value that represents the result of a test.
(Inherited from TestResult.)

See Also