SqlDatabaseTestClass.InitializeTest Method ()
Called by the generated unit test class during test initialization.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
protected void InitializeTest()
protected:
void InitializeTest()
member InitializeTest : unit -> unit
Protected Sub InitializeTest
Remarks
By default, this method is called by the generated class during TestInitializeAction. This method first executes the TestInitializeAction, if it is defined by using a privileged connection context. Finally, the method creates the execution and privileged contexts that are used in test execution.
See Also
TestInitializeAction
SqlDatabaseTestClass Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top