We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.
TestExecution Class
Visual Studio 2010
This class represents events that are related to test execution.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
The TestExecution type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (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 | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | AfterAssemblyCleanup | Occurs after the assembly finishes cleanup. |
![]() | AfterAssemblyInitialize | Occurs after the assembly initializes. |
![]() | AfterClassCleanup | Occurs after the class finishes cleanup. |
![]() | AfterClassInitialize | Occurs after the class initializes. |
![]() | AfterTestCleanup | Occurs after the test finishes cleanup. |
![]() | AfterTestInitialize | Occurs after the test initializes. |
![]() | BeforeAssemblyCleanup | Occurs before the assembly starts cleanup. |
![]() | BeforeAssemblyInitialize | Occurs before the assembly starts initialization. |
![]() | BeforeClassCleanup | Occurs before the class starts cleanup. |
![]() | BeforeClassInitialize | Occurs before the class starts initialization. |
![]() | BeforeTestCleanup | Occurs before the test starts cleanup. |
![]() | BeforeTestInitialize | Occurs before the test starts initialization. |
![]() | OnTestStopping | Occurs when a test is stopped before it is completed. |
Show: