The UnitTestResult type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString |
Creates a string representation of a unit test result.
(Overrides TestResult..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
| Exceptions |
Gets a read-only list of exceptions caught during the test.
(Inherited from TestResult.) | |
| Executable |
Gets a package element that was tested.
(Inherited from TestResult.) | |
| FinishedAt |
Gets a time when the test is finished.
(Inherited from TestResult.) | |
| IsSetupSuccess |
Gets a value indicating whether the setup phase of a test has executed successfully.
| |
| IsTeardownSuccess |
Gets a value indicating whether the cleanup phase of a test has executed successfully.
| |
| IsVerificationSuccess |
Gets a value indicating whether the verification phase of a test has executed successfully.
| |
| Package |
Gets a package that was tested.
(Inherited from TestResult.) | |
| RepositoryName |
Gets a repository name that contains the target package.
(Inherited from TestResult.) | |
| StartedAt |
Gets a time when the test is started.
(Inherited from TestResult.) | |
| TestDescription |
Gets the description of the unit test.
(Inherited from TestResult.) | |
| TestId |
Gets the id of the corresponding test.
(Inherited from TestResult.) | |
| TestName |
Gets the name of a class which implements the test.
(Inherited from TestResult.) | |
| TestOutcome |
Gets a value that represents the result of a test.
(Inherited from TestResult.) |