public static void MyClassInitialize(TestContext testContext) { Aspx451TestWebApplication = new IISTestWebApplication { AppName = "Aspx451", Port = DeploymentAndValidationTools.Aspx451Port, }; Aspx451TestWebApplicationWin32 = new IISTestWebApplication { AppName = "Aspx451Win32", Port = DeploymentAndValidationTools.Aspx451PortWin32, EnableWin32Mode = true, }; DeploymentAndValidationTools.Initialize(); AzureStorageHelper.Initialize(); Aspx451TestWebApplication.Deploy(); Aspx451TestWebApplicationWin32.Deploy(); Trace.TraceInformation("IIS Restart begin."); Iis.Reset(); Trace.TraceInformation("IIS Restart end."); Trace.TraceInformation("HttpTests class initialized"); }
public static void MyClassInitialize(TestContext testContext) { AspxCoreTestWebApplication = new DotNetCoreTestWebApplication { AppName = "AspxCore", ExternalCallPath = "external/calls", Port = DeploymentAndValidationTools.AspxCorePort, }; AspxCoreTestWebApplication.Deploy(); DeploymentAndValidationTools.Initialize(); Trace.TraceInformation("Aspnet core HttpTests class initialized"); }
public static void MyClassInitialize(TestContext testContext) { Aspx451TestWebApplication = new IISTestWebApplication { AppName = "Aspx451", Port = DeploymentAndValidationTools.Aspx451Port, }; DeploymentAndValidationTools.Initialize(); LocalDb.CreateLocalDb("RDDTestDatabase", Aspx451TestWebApplication.AppFolder + "\\TestDatabase.sql"); Aspx451TestWebApplication.Deploy(); Trace.TraceInformation("IIS Restart begin."); Iis.Reset(); Trace.TraceInformation("IIS Restart end."); Trace.TraceInformation("SQlTests class initialized"); }
public static void MyClassInitialize(TestContext testContext) { DeploymentAndValidationTools.Initialize(); AzureStorageHelper.Initialize(); }
public static void MyClassInitialize(TestContext testContext) { DeploymentAndValidationTools.Initialize(); LocalDb.CreateLocalDb("RDDTestDatabase", DeploymentAndValidationTools.Aspx451TestWebApplication.AppFolder + "\\TestDatabase.sql"); }