Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Initialize Method
Collapse the table of content
Expand the table of content

TestExtensionExecution.Initialize Method

Before execution starts, this method is called to enable subscription to the Unit Test Events.

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

public abstract void Initialize(
	TestExecution execution

This method is called to enable the developer to obtain test execution information, and to subscribe to Unit Test events.

© 2015 Microsoft