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.

TestExecution Class

 

This class represents events that are related to test execution.

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

System.Object
  Microsoft.VisualStudio.TestTools.UnitTesting.TestExecution

public abstract class TestExecution

NameDescription
System_CAPS_protmethodTestExecution()

Initializes a new instance of the TestExecution class.

NameDescription
System_CAPS_pubpropertyRunContext

Gets the context of this test run.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventAfterAssemblyCleanup

Occurs after the assembly finishes cleanup.

System_CAPS_pubeventAfterAssemblyInitialize

Occurs after the assembly initializes.

System_CAPS_pubeventAfterClassCleanup

Occurs after the class finishes cleanup.

System_CAPS_pubeventAfterClassInitialize

Occurs after the class initializes.

System_CAPS_pubeventAfterTestCleanup

Occurs after the test finishes cleanup.

System_CAPS_pubeventAfterTestInitialize

Occurs after the test initializes.

System_CAPS_pubeventBeforeAssemblyCleanup

Occurs before the assembly starts cleanup.

System_CAPS_pubeventBeforeAssemblyInitialize

Occurs before the assembly starts initialization.

System_CAPS_pubeventBeforeClassCleanup

Occurs before the class starts cleanup.

System_CAPS_pubeventBeforeClassInitialize

Occurs before the class starts initialization.

System_CAPS_pubeventBeforeTestCleanup

Occurs before the test starts cleanup.

System_CAPS_pubeventBeforeTestInitialize

Occurs before the test starts initialization.

System_CAPS_pubeventOnTestStopping

Occurs when a test is stopped before it is completed.

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: