Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TestExecution Events

TestExecution Events

The TestExecution type exposes the following members.

  Name Description
Public event AfterAssemblyCleanup Occurs after the assembly finishes cleanup.
Public event AfterAssemblyInitialize Occurs after the assembly initializes.
Public event AfterClassCleanup Occurs after the class finishes cleanup.
Public event AfterClassInitialize Occurs after the class initializes.
Public event AfterTestCleanup Occurs after the test finishes cleanup.
Public event AfterTestInitialize Occurs after the test initializes.
Public event BeforeAssemblyCleanup Occurs before the assembly starts cleanup.
Public event BeforeAssemblyInitialize Occurs before the assembly starts initialization.
Public event BeforeClassCleanup Occurs before the class starts cleanup.
Public event BeforeClassInitialize Occurs before the class starts initialization.
Public event BeforeTestCleanup Occurs before the test starts cleanup.
Public event BeforeTestInitialize Occurs before the test starts initialization.
Public event OnTestStopping Occurs when a test is stopped before it is completed.
© 2015 Microsoft